Ignore:
Timestamp:
Oct 27, 2011, 6:21:30 PM (12 years ago)
Author:
patdenice
Message:

Lastcom actions works even if block is set only on home page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PWG_Stuffs/trunk/main.inc.php

    r12401 r12524  
    7171
    7272    case 'index':
    73       if (count($tokens) == 1 and empty($tokens[0]))
     73      $actions = array('delete_comment', 'validate_comment', 'edit_comment', '');
     74      if (count($tokens) == 1 and in_array($tokens[0], $actions))
    7475      {
    7576        $page['stuffs_section'] = 'on_home';
Note: See TracChangeset for help on using the changeset viewer.