1
0
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:
Cameron
2015-07-29 00:14:17 -07:00
parent 1225105324
commit 2d337c28aa
2 changed files with 7 additions and 6 deletions

View File

@@ -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());
}
}*/
}
}
}