an other small fix for the readonly time

This commit is contained in:
Ralf Becker 2007-02-19 06:06:08 +00:00
parent 928ddd4912
commit 4646fed791

View File

@ -177,7 +177,7 @@
);
for ($str='',$n = substr($type,-4) == 'only' ? 3 : 0; $n < count($format); ++$n)
{
if ($value[$format[$n]])
if ((string) $value[$format[$n]] !== '')
{
if (!$n && $options & 16 )
{