From 113ff8c3b20172229f6401a8e14f3b57307ef73c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 13 Jul 2010 04:49:14 -0400
Subject: [PATCH] Removed php-eaccelerator package from fedora installation guide. This package causes a open_basedir restriction error in mod_php as it is compiled with wrong settings. See also http://www.howtoforge.com/forums/showthread.php?t=44144&highlight=open_basedir
---
interface/web/admin/users_edit.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/web/admin/users_edit.php b/interface/web/admin/users_edit.php
index 470ebbb..2bf4dcc 100644
--- a/interface/web/admin/users_edit.php
+++ b/interface/web/admin/users_edit.php
@@ -61,7 +61,7 @@
function onBeforeUpdate() {
global $app, $conf;
- if(!in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
+ if(@is_array($this->dataRecord['modules']) && !in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
}
}
--
Gitblit v1.9.1