diff options
| -rw-r--r-- | framework/Web/UI/WebControls/TClientScriptLoader.php | 2 | 
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());
  | 
