SQL protect
This commit is contained in:
parent
c08d5f2e83
commit
1e21b4d671
1 changed files with 1 additions and 3 deletions
|
|
@ -975,10 +975,8 @@ class User
|
|||
array($p_filter));
|
||||
}
|
||||
require_once('class_database.php');
|
||||
|
||||
|
||||
$Res = $cn->exec_sql($sql);
|
||||
$max = Database::num_row($Res);
|
||||
$max = Database::num_row($Res);
|
||||
if ($max == 0)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue