Commit 353fa4de authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4685 (Admin Zone home page crashes if all tips dismissed on newer PHP versions)

parent c5fa2e43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ class Block_main_staff_tips

        // Choose a tip from the level we're on
        if (!array_key_exists($level, $tips)) {
            $tip = do_lang_tempcode('ALL_TIPS_READ', $esc_free_support, $esc_brand_name, array($remaining_tip_params, get_tutorial_url('tut_do')));
            $tip = do_lang_tempcode('ALL_TIPS_READ', $esc_free_support, $esc_brand_name, $remaining_tip_params);
            $level = 5;
            $tip_code = '';
            $count = 0;