You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//* Set mysql mode to php-fcgi and enable suexec in website on apache servers
216
216
if($web_config['server_type'] == 'apache') {
@@ -239,7 +239,7 @@ public function createPackageInstance($settings, $packageid)
239
239
$client = $app->db->queryOneRecord("SELECT default_dbserver FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = ".$websrv['sys_groupid']);
Copy file name to clipboardExpand all lines: interface/lib/classes/auth.inc.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ public function is_admin() {
47
47
publicfunctionhas_clients($userid) {
48
48
global$app, $conf;
49
49
50
-
$userid = intval($userid);
50
+
$userid = $app->functions->intval($userid);
51
51
$client = $app->db->queryOneRecord("SELECT client.limit_client FROM sys_user, client WHERE sys_user.userid = $userid AND sys_user.client_id = client.client_id");
52
52
if($client['limit_client'] > 0) {
53
53
returntrue;
@@ -60,8 +60,8 @@ public function has_clients($userid) {
$sql = "SELECT count(action_id) as number FROM sys_remoteaction WHERE action_state = 'pending' AND action_type = 'backup_download' AND action_param = '$backup_id'";
0 commit comments