Changeset 1106 for trunk/picture.php


Ignore:
Timestamp:
Mar 27, 2006, 11:19:31 PM (18 years ago)
Author:
rub
Message:

improvement issue 0000127&0000301:

o Fix Missing Adviser tests
o Improve pwg_high , set to is_the_guest default value for enabled_high

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1094 r1106  
    100100 */
    101101
    102 if (isset($_GET['action']))
     102if (isset($_GET['action']) and !is_adviser())
    103103{
    104104  switch ($_GET['action'])
     
    140140    case 'set_as_representative' :
    141141    {
    142       if (is_admin() and isset($page['category']) and !is_adviser())
     142      if (is_admin() and isset($page['category']))
    143143      {
    144144        $query = '
     
    160160    case 'add_to_caddie' :
    161161    {
    162       if (!is_adviser())
    163       {
    164         fill_caddie(array($page['image_id']));
    165       }
     162      fill_caddie(array($page['image_id']));
    166163      redirect($url_self);
    167164      break;
Note: See TracChangeset for help on using the changeset viewer.