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