mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-05 16:23:24 +02:00
Fix bug 1743 : comment form is not visible because of boolean management
merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6592 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