aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-11-13 00:30:35 +0100
committerKevin Chabowski <kevin@kch42.de>2011-11-13 00:30:35 +0100
commit65ce55ab1808c8418702649a50c3b8aa7d3554d3 (patch)
treed7aed73f95bd914637ebf75c0cba1c30dc8b9466
parent37ae61fe6d76f72e4bd5567256ee4dd494649dab (diff)
downloadratatoeskr-cms-65ce55ab1808c8418702649a50c3b8aa7d3554d3.tar.gz
ratatoeskr-cms-65ce55ab1808c8418702649a50c3b8aa7d3554d3.tar.bz2
ratatoeskr-cms-65ce55ab1808c8418702649a50c3b8aa7d3554d3.zip
Fixed Bug in Tag::all().
-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 3f0f0e6..64a8ec2 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -1452,7 +1452,7 @@ class Tag
$rv = array();
$result = qdb("SELECT `id` FROM `PREFIX_tags` WHERE 1");
while($sqlrow = mysql_fetch_assoc($result))
- $rv[] = self::by_id($result["id"]);
+ $rv[] = self::by_id($sqlrow["id"]);
return $rv;
}