From abc09ddbb12d4332a08b115e1b69baec9a1b030a Mon Sep 17 00:00:00 2001 From: vogelor <vogelor@ispconfig3> Date: Thu, 18 Dec 2008 07:08:38 -0500 Subject: [PATCH] improvement of the RAID-State --- install/lib/install.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/install/lib/install.lib.php b/install/lib/install.lib.php index 473dc9f..b624be4 100644 --- a/install/lib/install.lib.php +++ b/install/lib/install.lib.php @@ -556,7 +556,7 @@ function is_installed($appname) { exec('which '.escapeshellcmd($appname),$out); - if(stristr($out[0],$appname)) { + if(isset($out[0]) && stristr($out[0],$appname)) { return true; } else { return false; -- Gitblit v1.9.1