avoid numeric columns
This commit is contained in:
parent
69112fdee3
commit
58a0f060ce
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ class Image
|
|||
{
|
||||
if (!is_null($row)) {
|
||||
foreach ($row as $name => $value) {
|
||||
if(is_numeric($name)) continue;
|
||||
|
||||
// some databases use table.name rather than name
|
||||
$name = str_replace("images.", "", $name);
|
||||
|
||||
|
|
Reference in a new issue