Fixed a couple of bugs under 1.1.6.
authorDan
Thu, 16 Apr 2009 20:35:28 -0400
changeset 13 4d8ce84092c9
parent 12 62c594682bf6
child 14 a5263dadedf3
Fixed a couple of bugs under 1.1.6.
plugins/Newsboy.php
--- a/plugins/Newsboy.php	Mon Mar 30 00:32:57 2009 -0400
+++ b/plugins/Newsboy.php	Thu Apr 16 20:35:28 2009 -0400
@@ -170,7 +170,7 @@
         return;
       // found a page
       $found_match = false;
-      while ( $row = $db->fetchrow() )
+      while ( $row = $db->fetchrow($q) )
       {
         if ( sanitize_page_id($row['name']) === $id_match[4] )
         {
@@ -198,7 +198,7 @@
 {
   class Namespace_NewsBoy extends Namespace_Default
   {
-    public $perms;
+    public $perms, $password, $send_headers;
     
     function __construct($a, $b, $c = 0)
     {