From 65ce55ab1808c8418702649a50c3b8aa7d3554d3 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 13 Nov 2011 00:30:35 +0100 Subject: Fixed Bug in Tag::all(). --- ratatoeskr/sys/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2