1
0

Minor fix.

This commit is contained in:
rWatcher 2010-11-08 00:45:54 -05:00
parent e238708df4
commit 5bccf5064d
2 changed files with 6 additions and 6 deletions

View File

@ -30,9 +30,9 @@ class access extends access_Core {
}
// Begin rWatcher modifications.
// This section adds an additional condition onto the view permission that throws a 404
// error if the album has a password assigned.
} elseif (($perm_name == "view") && (module::get_var("albumpassword", "hideonly") == false)) {
// Throw a 404 error when a user attempts to access a protected item,
// unless the password has been provided, or the user is the item's owner.
} elseif (module::get_var("albumpassword", "hideonly") == false) {
$album_item = "";
do {
if ($album_item == "") {

View File

@ -30,9 +30,9 @@ class access extends access_Core {
}
// Begin rWatcher modifications.
// This section adds an additional condition onto the view permission that throws a 404
// error if the album has a password assigned.
} elseif (($perm_name == "view") && (module::get_var("albumpassword", "hideonly") == false)) {
// Throw a 404 error when a user attempts to access a protected item,
// unless the password has been provided, or the user is the item's owner.
} elseif (module::get_var("albumpassword", "hideonly") == false) {
$album_item = "";
do {
if ($album_item == "") {