#153 Warning issued by the SOAP web services

SVN:trunk[614]
This commit is contained in:
Romain Quetiez
2010-07-19 11:20:50 +00:00
parent bfc052805b
commit 74927428aa
4 changed files with 14 additions and 6 deletions

View File

@@ -44,10 +44,16 @@ class SOAPExternalKeySearch
{
public $conditions; // array of SOAPSearchCondition
public function __construct($aConditions)
public function __construct($aConditions = null)
{
$this->conditions = $aConditions;
}
public function IsVoid()
{
if (is_null($this->conditions)) return true;
if (count($this->conditions) == 0) return true;
}
}