aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/sys')
-rw-r--r--ratatoeskr/sys/models.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index 6729281..a4d7ebf 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -1894,7 +1894,7 @@ class Image extends BySQLRowEnabled
public function all()
{
$rv = array();
- $result = qdb("SELECT `id` FROM `PREFIX_images` WHERE 1");
+ $result = qdb("SELECT `id`, `name`, `file` FROM `PREFIX_images` WHERE 1");
while($sqlrow = mysql_fetch_assoc($result))
$rv[] = self::by_sqlrow($sqlrow);
return $rv;