plugins/nuggie/planet.php
changeset 10 219a0133622e
parent 8 160f1170aa32
child 13 421242ebbece
--- a/plugins/nuggie/planet.php	Mon Jul 07 04:01:39 2008 -0400
+++ b/plugins/nuggie/planet.php	Mon Jul 07 04:02:18 2008 -0400
@@ -105,6 +105,7 @@
     $db->_die();
   
   $count = $db->numrows();
+  
   $db->free_result($sql);
   
   // pass 2: production run
@@ -113,7 +114,7 @@
   $sql = str_replace('<limit>', "LIMIT $offset, 10", $sql);
   
   // yea. that was one query.
-  $q = $db->sql_unbuffered_query($sql);
+  $q = $db->sql_query($sql);
   if ( !$q )
     $db->_die();