aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr')
-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;
}