[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6692] correct input type
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6692] correct input type |
Date: |
Tue, 21 Dec 2010 19:24:15 +0000 |
Revision: 6692
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6692
Author: sigurdne
Date: 2010-12-21 19:24:14 +0000 (Tue, 21 Dec 2010)
Log Message:
-----------
correct input type
Modified Paths:
--------------
trunk/phpgwapi/inc/class.datetime.inc.php
Modified: trunk/phpgwapi/inc/class.datetime.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.datetime.inc.php 2010-12-21 19:23:29 UTC (rev
6691)
+++ trunk/phpgwapi/inc/class.datetime.inc.php 2010-12-21 19:24:14 UTC (rev
6692)
@@ -844,9 +844,9 @@
* @param array $date the date array to convert, must contain
keys day, month & year
* @return int unix timestamp
*/
- public static function date_to_timestamp($date = array())
+ public static function date_to_timestamp($datestr = '')
{
- if ( !$date )
+ if ( !$datestr )
{
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6692] correct input type,
Sigurd Nes <=