diff -r 62c594682bf6 -r 4d8ce84092c9 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) {