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
#search to see if the expression matches an aliasif (is_array($select)) {
foreach ($selectas$clause) {
if (!$clause['alias']) {
continue;
}
if ($clause['alias']['name'] === $parseInfo['expr']) {
$parseInfo['type'] = 'alias';
}
}
}
Because, when i don't have a select clause in my sql request, i had this warning: Warning: Invalid argument supplied for foreach() ... on line 1321
Thx
The text was updated successfully, but these errors were encountered:
Hi guys,
In this part of code:
pseudo/src/php-sql-parser.php
Line 1321 in 77282ca
I've added this precaution:
Because, when i don't have a select clause in my sql request, i had this warning:
Warning: Invalid argument supplied for foreach() ... on line 1321
Thx
The text was updated successfully, but these errors were encountered: