Ignore:
Timestamp:
Dec 15, 2009, 11:09:38 PM (14 years ago)
Author:
grum
Message:

[AMM] feature 1331 (a small bug about the random picture)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_pip.class.inc.php

    r4395 r4499  
    303303  public function applyJS()
    304304  {
    305     global $user, $template;
    306 
    307     if($this->displayRandomImageBlock)
     305    global $user, $template, $page;
     306
     307    if($this->displayRandomImageBlock && $page['body_id'] == 'theCategoryPage')
    308308    {
    309309      $local_tpl = new Template(AMM_PATH."admin/", "");
Note: See TracChangeset for help on using the changeset viewer.