mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
Bug 1743 fixed : comment form is not visible because of boolean management
git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -512,6 +512,10 @@ function boolean_to_string($var)
|
||||
{
|
||||
return $var ? 'true' : 'false';
|
||||
}
|
||||
elseif ($var=='t' || $var=='f')
|
||||
{
|
||||
return ($var=='t') ? 'true' : 'false';
|
||||
}
|
||||
else
|
||||
{
|
||||
return $var;
|
||||
|
||||
Reference in New Issue
Block a user