Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-repair_mmnu.php
index 142ddc1ce8c25ad3769649b8a6087114ebd59f0b..7479e27201c6ebb1ad055a002feb9d46f46efead 100644 (file)
@@ -48,7 +48,7 @@ $ACTIONS = array();
 
 // First fix all main menus (what = '')...
 $result_fix = SQL_QUERY("SELECT id, action FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE (`what`='' OR `what` IS NULL) AND action != 'logout' ORDER BY `sort` ASC", __FILE__, __LINE__);
-$cnt = 0; $REP = 0;
+$cnt = '0'; $REP = '0';
 while ($content = SQL_FETCHARRAY($result_fix)) {
        // Store action value for later usage in sorting sub menus
        $ACTIONS[] = $content['action'];