From 970057f16ae4ca2a85ad6710c0d6e371f0bf003d Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 30 Apr 2007 02:52:44 +0000 Subject: fixed http://www.pradosoft.com/forum/index.php/topic,7526.0/topicseen.html --- framework/Web/UI/WebControls/TClientScriptLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Web/UI/WebControls/TClientScriptLoader.php b/framework/Web/UI/WebControls/TClientScriptLoader.php index f59a9ba4..d300eee8 100644 --- a/framework/Web/UI/WebControls/TClientScriptLoader.php +++ b/framework/Web/UI/WebControls/TClientScriptLoader.php @@ -95,7 +95,7 @@ class TClientScriptLoader extends TWebControl */ protected function getClientScriptUrl() { - $scripts = split('\s*[, ]+\s*', $this->getPackageScripts()); + $scripts = preg_split('/\s*[, ]+\s*/', $this->getPackageScripts()); $cs = $this->getPage()->getClientScript(); return $cs->registerJavascriptPackages($this->getPackagePath(), $scripts, $this->getDebugMode(), $this->getEnableGzip()); -- cgit v1.2.3