Ignore:
Timestamp:
Oct 6, 2008, 12:30:35 AM (16 years ago)
Author:
plg
Message:

bug 888 fixed: pwg.images.add updates the associated categories so that a
category doesn't remain without representant while containing photos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r2670 r2672  
    11211121          if ('auto' == $rank_on_category[$cat_id])
    11221122          {
    1123           $rank_on_category[$cat_id] = $current_rank_of[$cat_id] + 1;
     1123            $rank_on_category[$cat_id] = $current_rank_of[$cat_id] + 1;
    11241124          }
    11251125        }
     
    11451145        $inserts
    11461146        );
     1147
     1148      update_category($cat_ids);
    11471149    }
    11481150  }
Note: See TracChangeset for help on using the changeset viewer.