]> source.dussan.org Git - nextcloud-server.git/commitdiff
use the correct variable name
authorRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 17:46:47 +0000 (19:46 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 17:46:47 +0000 (19:46 +0200)
lib/helper.php

index 4fff7c28fead34d4ce3be064bf2c0ebabdb8c0cd..7c7fe2757e7d94355fc420c5c8a1c7618d6d5f87 100644 (file)
@@ -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";
        }