Skip to content
Snippets Groups Projects
Commit 2e7117b7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

don't assign by reference, declare filter variable, fixes #1338

Closes #1338

Merge request studip/studip!826
parent 0a909673
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@
*/
class Resources_RoomRequestController extends AuthenticatedController
{
protected $filter;
public function before_filter(&$action, &$args)
{
parent::before_filter($action, $args);
......
......@@ -234,7 +234,7 @@ abstract class StudipController extends Trails_Controller
$arg = $sorm;
if ($this->_autobind) {
$this->{$info['var']} =& $arg;
$this->{$info['var']} = $arg;
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment