# HG changeset patch # User Dan # Date 1239928528 14400 # Node ID 4d8ce84092c950c93a3b19a2b046509031782e44 # Parent 62c594682bf655231f826ff78ecddb6609f12ed0 Fixed a couple of bugs under 1.1.6. 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) {