Skip to content

Commit aee6fd8

Browse files
committed
Fixed PHP warnings in install.lib.php
1 parent 0a1f027 commit aee6fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/install.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ function removeLine($filename,$search_pattern,$strict = 0) {
556556

557557
function is_installed($appname) {
558558
exec('which '.escapeshellcmd($appname),$out);
559-
if(stristr($out[0],$appname)) {
559+
if(isset($out[0]) && stristr($out[0],$appname)) {
560560
return true;
561561
} else {
562562
return false;

0 commit comments

Comments
 (0)