--- a/includes/pageprocess.php Fri Nov 23 17:59:24 2007 -0500
+++ b/includes/pageprocess.php Sat Nov 24 00:53:23 2007 -0500
@@ -166,13 +166,16 @@
$this->send_headers = false;
$strict_no_headers = true;
}
- if ( $paths->pages[$pathskey]['password'] != '' && $paths->pages[$pathskey]['password'] != sha1('') )
+ if ( isset($paths->pages[$pathskey]['password']) )
{
- $password =& $paths->pages[$pathskey]['password'];
- if ( $this->password != $password )
+ if ( $paths->pages[$pathskey]['password'] != '' && $paths->pages[$pathskey]['password'] != sha1('') )
{
- $this->err_wrong_password();
- return false;
+ $password =& $paths->pages[$pathskey]['password'];
+ if ( $this->password != $password )
+ {
+ $this->err_wrong_password();
+ return false;
+ }
}
}
}