aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-29 00:59:30 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-29 00:59:30 +0100
commitc91f5d5d77b55b1579b6020ad2dea3a8801eb106 (patch)
tree1e79ad87b4331096ce1c232a3efd002fb0fddbe2 /ratatoeskr/sys
parentad9e26c21b61315f1b3aff3df43de7df7d5849f3 (diff)
downloadratatoeskr-cms-c91f5d5d77b55b1579b6020ad2dea3a8801eb106.tar.gz
ratatoeskr-cms-c91f5d5d77b55b1579b6020ad2dea3a8801eb106.tar.bz2
ratatoeskr-cms-c91f5d5d77b55b1579b6020ad2dea3a8801eb106.zip
Fixed Image:all function (broken Query).
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;