Permalink
Browse files

fixed $tab variable strict error in options.php

  • Loading branch information...
1 parent d342a10 commit 525d61c5a064ca84060bf76446008ff6458a0eef @Frumph committed Aug 31, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 options.php
View
@@ -226,7 +226,7 @@ function comicpress_admin_options() { ?>
'debug' => __( 'Debug', 'comicpress' )
);
- if (empty($tab)) { $tab = array_shift(array_keys($tab_info)); }
+ if (empty($tab)) { $tab = 'splash'; }
foreach($tab_info as $tab_id => $label) { ?>
<div id="comicpress-tab-<?php echo $tab_id ?>" class="comicpress-tab <?php echo ($tab == $tab_id) ? 'on' : 'off'; ?>"><span><?php echo $label; ?></span></div>

0 comments on commit 525d61c

Please sign in to comment.