summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-16 19:46:47 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-16 19:46:47 +0200
commit101877351ba0473df5e4f217ccb4450764ba16f2 (patch)
tree3385e5db409e6700df925b1d60fd17083219826b
parente71bc75a9db8ff7dce8d98ccbff9107bd0dbe7dc (diff)
downloadnextcloud-server-101877351ba0473df5e4f217ccb4450764ba16f2.tar.gz
nextcloud-server-101877351ba0473df5e4f217ccb4450764ba16f2.zip
use the correct variable name
-rw-r--r--lib/helper.php4
1 files changed, 2 insertions, 2 deletions
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";
}