[pLog-svn] r1004 - plog/trunk/class/net/http
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Feb 8 15:16:03 GMT 2005
Author: ork
Date: 2005-02-08 15:16:03 +0000 (Tue, 08 Feb 2005)
New Revision: 1004
Modified:
plog/trunk/class/net/http/httpvars.class.php
Log:
the phpdoc says 'else return empty' .. not sure what empty is, so we'll
return an empty string:)
Modified: plog/trunk/class/net/http/httpvars.class.php
===================================================================
--- plog/trunk/class/net/http/httpvars.class.php 2005-02-08 15:13:21 UTC (rev 1003)
+++ plog/trunk/class/net/http/httpvars.class.php 2005-02-08 15:16:03 UTC (rev 1004)
@@ -155,7 +155,9 @@
function getRequestValue( $key )
{
$request = HttpVars::getRequest();
- return( $request["$key"] );
+ if ( isset($request[$key]) )
+ return( $request[$key] );
+ return '';
}
/**
More information about the pLog-svn
mailing list