summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallbackClientScript.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackClientScript.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientScript.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
index 550c88b5..10c0e638 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
@@ -63,10 +63,8 @@ class TCallbackClientScript
*/
public function callClientFunction($function, $params=null)
{
- if(!is_array($params) && $params !== null)
+ if(!is_array($params))
$params = array($params);
- else
- $params = array();
if(count($params) > 0)
{