fixes listfeatures called without argument in upgrade.php
authorarno <arno@renevier.net>
Fri, 16 Apr 2010 16:58:51 +0000 (18:58 +0200)
committerarno <arno@renevier.net>
Fri, 16 Apr 2010 22:45:55 +0000 (00:45 +0200)
inc/html/upgrade.php

index 38eefe6f4abbaf578aa8caf3f35bf1bbdbd5026f..a6793886509a41af3f8c792cc6dbf808ad3194f4 100644 (file)
@@ -16,7 +16,7 @@
 <body>
 <?php
     function create_all_thumbs($con) {
-        $features = $con->listfeatures ();
+        $features = $con->listfeatures ("admin");
         foreach ($features as $feature) {
             if ($feature->imgpath) {
                 $imgfilename = UPLOADDIR . "/" . $feature->imgpath;