]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix not displaying "Upload something!" message
authorkondou <kondou@ts.unde.re>
Mon, 23 Sep 2013 14:39:42 +0000 (16:39 +0200)
committerkondou <kondou@ts.unde.re>
Mon, 23 Sep 2013 14:39:42 +0000 (16:39 +0200)
Fix #4940

apps/files/templates/index.php

index bd991c3fcb04f0f27df4d50079b82bde457b9716..96a80738989667198f4605f7705a0b55b6e9e858 100644 (file)
@@ -47,7 +47,7 @@
        <input type="hidden" name="permissions" value="<?php p($_['permissions']); ?>" id="permissions">
 </div>
 
-<div id="emptycontent" <?php if (!isset($_['files']) or !$_['isCreatable'] or count($_['files']) > 0 or !$_['ajaxLoad']):?>class="hidden"<?php endif; ?>><?php p($l->t('Nothing in here. Upload something!'))?></div>
+<div id="emptycontent" <?php if (!isset($_['files']) or !$_['isCreatable'] or count($_['files']) > 0 or $_['ajaxLoad']):?>class="hidden"<?php endif; ?>><?php p($l->t('Nothing in here. Upload something!'))?></div>
 
 <input type="hidden" id="disableSharing" data-status="<?php p($_['disableSharing']); ?>"></input>