main/admin/group_list.php 1 location
|
@@ 252-256 (lines=5) @@
|
| 249 |
|
$return_message = get_lang('UserUnlocked'); |
| 250 |
|
} |
| 251 |
|
|
| 252 |
|
if (($status_db == '1' OR $status_db == '0') AND is_numeric($user_id)) { |
| 253 |
|
$sql = "UPDATE $user_table SET active=".intval($status_db)." |
| 254 |
|
WHERE user_id=".intval($user_id).""; |
| 255 |
|
$result = Database::query($sql); |
| 256 |
|
} |
| 257 |
|
|
| 258 |
|
if ($result) { |
| 259 |
|
return $return_message; |
main/inc/lib/urlmanager.lib.php 1 location
|
@@ 357-361 (lines=5) @@
|
| 354 |
|
if ($status == 'unlock') { |
| 355 |
|
$status_db = '1'; |
| 356 |
|
} |
| 357 |
|
if (($status_db == '1' || $status_db == '0') && is_numeric($url_id)) { |
| 358 |
|
$sql = "UPDATE $url_table SET active='".intval($status_db)."' |
| 359 |
|
WHERE id='".intval($url_id)."'"; |
| 360 |
|
Database::query($sql); |
| 361 |
|
} |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
/** |