Skip to content
Snippets Groups Projects
Commit aee6fd8a authored by tbrehm's avatar tbrehm
Browse files

Fixed PHP warnings in install.lib.php

parent 0a1f027b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment