mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
PHP 8 Workaround
This commit is contained in:
parent
4236d48ae1
commit
8036767f04
@ -720,8 +720,9 @@ if ($ui->st('w', 'get') == 'lo') {
|
|||||||
$query = $sql->prepare("UPDATE `settings` SET `paneldomain`=? WHERE `resellerid`=0 LIMIT 1");
|
$query = $sql->prepare("UPDATE `settings` SET `paneldomain`=? WHERE `resellerid`=0 LIMIT 1");
|
||||||
$query->execute(array($webhostdomain));
|
$query->execute(array($webhostdomain));
|
||||||
|
|
||||||
|
/* PHP 8 Workaround
|
||||||
$params = @json_decode(licenceRequest(true));
|
$params = @json_decode(licenceRequest(true));
|
||||||
|
*/
|
||||||
if (isanyadmin($admin_id) or rsellerpermisions($admin_id)) {
|
if (isanyadmin($admin_id) or rsellerpermisions($admin_id)) {
|
||||||
redirect('admin.php');
|
redirect('admin.php');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user