Skip to content

Commit b11aea4

Browse files
committed
Fix if there are no new apps.
1 parent 43634ac commit b11aea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

store/index.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@
254254
$newApps = array_filter($registrations, 'new_apps');
255255
$theRest = array_filter($registrations, 'the_rest');
256256

257+
if ( count($newApps) > 0 ) {
257258
?>
258259
<div>
259260
<div class="bxslider">
@@ -267,8 +268,8 @@
267268
?>
268269
</div>
269270
</div>
270-
271271
<?php
272+
}
272273

273274
echo('<div id="box">'."\n");
274275

0 commit comments

Comments
 (0)