summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers
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
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')
-rw-r--r--application/modules/user/controllers/BootisoController.php2
-rw-r--r--application/modules/user/controllers/GroupController.php2
-rw-r--r--application/modules/user/controllers/RoleController.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/BootisoController.php b/application/modules/user/controllers/BootisoController.php
index 2187dbb..da68b29 100644
--- a/application/modules/user/controllers/BootisoController.php
+++ b/application/modules/user/controllers/BootisoController.php
@@ -148,7 +148,7 @@ class user_BootisoController extends Zend_Controller_Action {
$zip = new ZipArchive();
$res = $zip->open("../resources/bootmedium/$prebootID/preboot.zip");
- if($res == = true) {
+ if($res == true) {
$rootdir = $zip->getNameIndex(0);
$zip->addFromString($rootdir."build/rootfs/tmp/serial", $bootiso->getSerialnumber());
$zip->close();
diff --git a/application/modules/user/controllers/GroupController.php b/application/modules/user/controllers/GroupController.php
index f0a4591..bf7e1b2 100644
--- a/application/modules/user/controllers/GroupController.php
+++ b/application/modules/user/controllers/GroupController.php
@@ -377,7 +377,7 @@ class User_GroupController extends Zend_Controller_Action {
return;
}
if($_SERVER['HTTP_REFERER']) {
- if(strpos($_SERVER['HTTP_REFERER'], '/user/group/show') != = false && strpos($_SERVER['HTTP_REFERER'], '/groupID/') == = false) {
+ if(strpos($_SERVER['HTTP_REFERER'], '/user/group/show') !== false && strpos($_SERVER['HTTP_REFERER'], '/groupID/') == false) {
$this->_helper->redirector('changemembership', 'person');
} else {
$this->_redirect('/user/group/index/page/'.$this->page.'/deleteresult/ok');
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');