Quote:
|
Originally Posted by Mikan 1)
Manage albums -> create a new album ->
name: name
description: description
Is that a private album: yes
PROBLEM: result is that album is not private(!) |
This is a bug and here is the reason.
This bug occurs if you are using other than english as a language.
in alb-addalb.tmpl you have line 26:
<option selected>{$Globals['pp_lang']['no']}</option><option>{$Globals['pp_lang']['yes']}</option>
so it's reading "yes" and "no" values from language-file so in my case they are "kyllä" and "ei" in finnish.
Now useralbums.php line 78 is:
if ( $isprivate == "yes" ) $pa_password = gen_password();
so that if-function is expecting a hard coded english value "yes" when it actualy should expect ' $Globals['pp_lang']['yes'] '