Commit aee6fd8a authored by tbrehm's avatar tbrehm
Browse files

Fixed PHP warnings in install.lib.php

parent 0a1f027b
......@@ -556,7 +556,7 @@ function removeLine($filename,$search_pattern,$strict = 0) {
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment