Ignore:
Timestamp:
05/21/11 19:37:43 (9 years ago)
Author:
mistic100
Message:

last commit for first public version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Back2Front/Back2Front.php

    r10852 r10981  
    159159          pwg_query("DELETE FROM ".IMAGE_CATEGORY_TABLE." 
    160160            WHERE image_id = ".$_GET['image_id'].";"); 
    161           pwg_query("INSERT INTO ".IMAGE_CATEGORY_TABLE." 
    162             VALUES(".$_GET['image_id'].", ".$conf['back2front'][0].", NULL);"); 
     161          pwg_query("INSERT INTO ".IMAGE_CATEGORY_TABLE."(image_id, category_id) 
     162            VALUES(".$_GET['image_id'].", ".$conf['back2front'][0].");"); 
    163163             
    164164          // random representant for each categories 
Note: See TracChangeset for help on using the changeset viewer.