mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Plugin Builder Bootstrap3 styling fixes. PDO Mysql fix in db verification class.
This commit is contained in:
@@ -701,17 +701,18 @@ class db_verify
|
||||
// continue;
|
||||
|
||||
|
||||
if(mysql_query($query))
|
||||
if(e107::getDb()->gen($query) !== false)
|
||||
{
|
||||
$log->addDebug(LAN_UPDATED.' ['.$query.']');
|
||||
}
|
||||
else
|
||||
{
|
||||
$log->addWarning(LAN_UPDATED_FAILED.' ['.$query.']');
|
||||
if(mysql_errno())
|
||||
$log->addWarning(e107::getDb()->getLastErrorText()); // PDO compatible.
|
||||
/*if(mysql_errno())
|
||||
{
|
||||
$log->addWarning('SQL #'.mysql_errno().': '.mysql_error());
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user