diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-04-07 02:04:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-04-07 02:04:23 +0000 |
commit | ba8ee0675d0fdf83426d58b61a540de21bf5aeb9 (patch) | |
tree | a5f42804737eecefc9c730ef3c86ce997c572cd8 /etc/inc | |
parent | 6b35646f26360cec08e34e566c0541835b58faf3 (diff) | |
download | pfsense-ba8ee0675d0fdf83426d58b61a540de21bf5aeb9.zip pfsense-ba8ee0675d0fdf83426d58b61a540de21bf5aeb9.tar.gz |
Initialize variables.
Found-by: PHPEclipse
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/xmlrpc_client.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index aa329b9..c91c9a2 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -1835,6 +1835,7 @@ function XML_RPC_iso8601_encode($timet, $utc = 0) function XML_RPC_iso8601_decode($idate, $utc = 0) { $t = 0; + $regs = ""; if (ereg('([0-9]{4})([0-9]{2})([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})', $idate, $regs)) { if ($utc) { $t = gmmktime($regs[4], $regs[5], $regs[6], $regs[2], $regs[3], $regs[1]); |