equal
deleted
inserted
replaced
255 if ( !isPage($pname) ) |
255 if ( !isPage($pname) ) |
256 { |
256 { |
257 return 'DNE'; |
257 return 'DNE'; |
258 } |
258 } |
259 |
259 |
260 if ( isPage($pname['password']) ) |
260 if ( isPage($pname) ) |
261 { |
261 { |
262 $password_exists = ( !empty($cdata['password']) && $cdata['password'] !== sha1('') ); |
262 $password_exists = ( !empty($cdata['password']) && $cdata['password'] !== sha1('') ); |
263 if ( $password_exists && $password !== $cdata['password'] ) |
263 if ( $password_exists && $password !== $cdata['password'] ) |
264 { |
264 { |
265 return '<p>' . $lang->get('history_err_wrong_password') . '</p>'; |
265 return '<p>' . $lang->get('history_err_wrong_password') . '</p>'; |