1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

date convert typo

This commit is contained in:
secretr
2009-10-23 13:06:21 +00:00
parent 1fdd9e6a0d
commit 4c7bf15d46

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/date_handler.php,v $
| $Revision: 1.7 $
| $Date: 2009-10-22 19:14:26 $
| $Revision: 1.8 $
| $Date: 2009-10-23 13:06:21 $
| $Author: secretr $
|
+----------------------------------------------------------------------------+
@@ -49,15 +49,15 @@ class convert
break;
case 'forum': // DEPRECATED - temporary here from BC reasons only
default:
default:
//BC - old 'forum' call
if(strpos('%', $mask) === FALSE)
if(strpos($mask, '%') === FALSE)
{
$mask = e107::getPref('forumdate');
}
break;
}
$datestamp += TIMEOFFSET;
return strftime($mask, $datestamp);
}