avoid numeric columns

This commit is contained in:
Shish 2020-10-24 19:13:46 +01:00
parent 69112fdee3
commit 58a0f060ce

View file

@ -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);