mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Issue #4283 - Update deprecated sql method usage. Removed old code.
This commit is contained in:
@@ -175,7 +175,7 @@ if (isset($_POST['pm_maint_execute']))
|
||||
if(isset($_POST['addlimit']))
|
||||
{
|
||||
$id = intval($_POST['newlimit_class']);
|
||||
if($sql->db_Select('generic','gen_id',"gen_type = 'pm_limit' AND gen_datestamp = ".$id))
|
||||
if($sql->select('generic','gen_id',"gen_type = 'pm_limit' AND gen_datestamp = ".$id))
|
||||
{
|
||||
$mes->addInfo(ADLAN_PM_5); // 'Limit for selected user class already exists'
|
||||
}
|
||||
|
Reference in New Issue
Block a user