summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorwei <>2007-04-30 02:52:44 +0000
committerwei <>2007-04-30 02:52:44 +0000
commit970057f16ae4ca2a85ad6710c0d6e371f0bf003d (patch)
tree123ea07f771108db1504c443ce2dae5f21b548e7 /framework/Web/UI/WebControls
parent4b60031405442b90fd7ec36aa98d4c1f3d00d71d (diff)
fixed http://www.pradosoft.com/forum/index.php/topic,7526.0/topicseen.html
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TClientScriptLoader.php2
1 files changed, 1 insertions, 1 deletions
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());