// Change activation status
function ADMIN_CHANGE_ACTIVATION_STATUS ($IDs, $table, $row, $idRow = "id") {
global $CONFIG;
- $cnt = 0; $newStatus = "Y";
+ $cnt = 0; $newStatus = 'Y';
if ((is_array($IDs)) && (count($IDs) > 0)) {
// "Walk" all through and count them
foreach ($IDs as $id=>$selected) {
if (SQL_NUMROWS($result) == 1) {
// Load the status
list($currStatus) = SQL_FETCHROW($result);
- if ($currStatus == "Y") $newStatus="N"; else $newStatus = "Y";
+ if ($currStatus == 'Y') $newStatus='N'; else $newStatus = 'Y';
// Change this status
SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_%s SET %s='%s' WHERE %s=%d LIMIT 1",