Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit a585a77

Browse files
committed
ENH: refs #253. Cleaning up __set to better syntax.
1 parent 189c525 commit a585a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/GlobalModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Cont
3838
foreach($allModules as &$mod)
3939
{
4040
$modWebroot = $mod.'Webroot';
41-
$this->view->__set($modWebroot, $fc->getBaseUrl().'/modules/'.$mod);
41+
$this->view->$modWebroot = $fc->getBaseUrl().'/modules/'.$mod;
4242
}
4343
}
4444

0 commit comments

Comments
 (0)