summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/RoleController.php
diff options
context:
space:
mode:
authorSebastian Schmelzer2012-01-11 15:35:59 +0100
committerSebastian Schmelzer2012-01-11 15:35:59 +0100
commit3414855d2fd3b8a754a6d6eee0d27c4b1831da18 (patch)
tree372edab4c78617919dc49308d0c8c5b3271f3cd1 /application/modules/user/controllers/RoleController.php
parentremove unused stuff (diff)
downloadpbs2-3414855d2fd3b8a754a6d6eee0d27c4b1831da18.tar.gz
pbs2-3414855d2fd3b8a754a6d6eee0d27c4b1831da18.tar.xz
pbs2-3414855d2fd3b8a754a6d6eee0d27c4b1831da18.zip
fix stylecode output
Diffstat (limited to 'application/modules/user/controllers/RoleController.php')
-rw-r--r--application/modules/user/controllers/RoleController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/modules/user/controllers/RoleController.php b/application/modules/user/controllers/RoleController.php
index bbd5332..7634657 100644
--- a/application/modules/user/controllers/RoleController.php
+++ b/application/modules/user/controllers/RoleController.php
@@ -292,7 +292,7 @@ class User_RoleController extends Zend_Controller_Action {
return;
}
if($_SERVER['HTTP_REFERER']) {
- if(strpos($_SERVER['HTTP_REFERER'], '/user/role/show') != = false && strpos($_SERVER['HTTP_REFERER'], '/roleID/') == = false) {
+ if(strpos($_SERVER['HTTP_REFERER'], '/user/role/show') !== false && strpos($_SERVER['HTTP_REFERER'], '/roleID/') == false) {
$this->_helper->redirector('changemembership', 'person');
} else {
$this->_helper->redirector('', 'role');