Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1887)
+++ branches/2.8.x/CHANGELOG	(revision 1888)
@@ -11,6 +11,9 @@
 ! = Update/Change
 ===============================================================================
 
+12 Mar-2013 Build 1888 Dietmar Woellbrink (Luisehahne)
+# fixed Deprecated: preg_replace(): modules\show_menu2\include.php
+  The /e modifier is deprecated, replaced with preg_replace_callback 
 12 Mar-2013 Build 1887 Dietmar Woellbrink (Luisehahne)
 # bugfix Notice: Constant messages during new WB installation
 ! update WbDatabase SqlImport parameter, 
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1887)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1888)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1887');
+if(!defined('REVISION')) define('REVISION', '1888');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/show_menu2/include.php
===================================================================
--- branches/2.8.x/wb/modules/show_menu2/include.php	(revision 1887)
+++ branches/2.8.x/wb/modules/show_menu2/include.php	(revision 1888)
@@ -206,18 +206,20 @@
     // find and replace all keywords
     function format2(&$aCurrItem) {
         if (!is_string($aCurrItem)) return '';
-        return preg_replace(
+        return preg_replace_callback(
             '@\[('.
                 'a|ac|/a|li|/li|ul|/ul|menu_title|menu_icon_0|menu_icon_1|'.
-				'page_title|page_icon|url|target|page_id|tooltip|'.
+		        'page_title|page_icon|url|target|page_id|tooltip|'.
                 'parent|level|sib|sibCount|class|description|keywords|'.
                 SM2_CONDITIONAL.
-            ')\]@e', 
-            '$this->replace("\1")', $aCurrItem);
+            ')\]@',
+            array($this, 'replace'),
+            $aCurrItem);
     }
     
     // replace the keywords
-    function replace($aMatch) {
+    function replace($aMatches) {
+        $aMatch = $aMatches[1];
         $retval = '['.$aMatch.'=UNKNOWN]';
         switch ($aMatch) {
         case 'a':
@@ -847,4 +849,3 @@
         $aFormatter->finishList();
     }
 }
-
