From 101877351ba0473df5e4f217ccb4450764ba16f2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 16 Apr 2011 19:46:47 +0200 Subject: [PATCH] use the correct variable name --- lib/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/helper.php b/lib/helper.php index 4fff7c28fe..7c7fe2757e 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"; }