<?php
/************************************************************************
- * MXChange v0.2.1 Start: 02/25/2004 *
- * ================ Last change: 02/25/2004 *
+ * Mailer v0.2.1-FINAL Start: 02/25/2004 *
+ * =================== Last change: 02/25/2004 *
* *
* -------------------------------------------------------------------- *
* File : what-repair_amenu.php *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// First fix all main menus (what = '')...
$result_fix = SQL_QUERY("SELECT id, action FROM `{?_MYSQL_PREFIX?}_admin_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 act value for later usage in sorting sub menus
$ACTIONS[] = $content['action'];
// Repair finished
if ($REP > 0) {
- $message = sprintf(getMessage('ADMIN_REPAIR_ENTRIES_FIXED'), $REP);
+ $message = getMaskedMessage('ADMIN_REPAIR_ENTRIES_FIXED', $REP);
} else {
$message = getMessage('ADMIN_REPAIR_NOTHING_FIXED');
}