aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index f6653a457..43a50b093 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -375,7 +375,7 @@ LIMIT '.$params['per_page']*$params['page'].','.$params['per_page'];
$image[$k] = (int)$row[$k];
}
}
- foreach ( array('name', 'file') as $k )
+ foreach ( array('file', 'name', 'comment') as $k )
{
$image[$k] = $row[$k];
}
@@ -829,7 +829,7 @@ SELECT * FROM '.IMAGES_TABLE.'
$image[$k] = (int)$row[$k];
}
}
- foreach ( array('name', 'file') as $k )
+ foreach ( array('file', 'name', 'comment') as $k )
{
$image[$k] = $row[$k];
}
@@ -1035,7 +1035,7 @@ LIMIT '.$params['per_page']*$params['page'].','.$params['per_page'];
$image[$k] = (int)$row[$k];
}
}
- foreach ( array('name', 'file') as $k )
+ foreach ( array('file', 'name', 'comment') as $k )
{
$image[$k] = $row[$k];
}