From: Robin Appelman Date: Sat, 16 Apr 2011 17:46:47 +0000 (+0200) Subject: use the correct variable name X-Git-Tag: v3.0~267^2~558^2~136^2~1^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=101877351ba0473df5e4f217ccb4450764ba16f2;p=nextcloud-server.git use the correct variable name --- diff --git a/lib/helper.php b/lib/helper.php index 4fff7c28fea..7c7fe2757e7 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -60,8 +60,8 @@ class OC_HELPER { global $SERVERROOT; global $WEBROOT; // Check if the app is in the app folder - if( file_exists( "$SERVERROOT/apps/img/$app/$file" )){ - return "$WEBROOT/apps/img/$app/$file"; + if( file_exists( "$SERVERROOT/apps/img/$app/$image" )){ + return "$WEBROOT/apps/img/$app/$image"; } return "$WEBROOT/$app/img/$image"; }