Code

Removed preg_replace
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 13:37:15 +0000 (13:37 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 13:37:15 +0000 (13:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12874 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_tabs.inc

index a10db017ce7e333a7646fac07ef060e626d5cbb6..a679baa5f6e3253911a5bc30bba7e63ef00e762b 100644 (file)
@@ -208,7 +208,7 @@ class tabs
       }
 
       /* nobr causes w3c warnings so we use &nbsp; to keep the tab name in one line */
-      $title= preg_replace("/ /","&nbsp;",$title);
+      $title= str_replace(" ","&nbsp;",$title);
 
       /* Take care about notifications */
       $obj = $this->by_object[$class];