Ignore:
Timestamp:
Jul 27, 2011, 8:19:46 PM (13 years ago)
Author:
Mattias
Message:

fixed a bug in image.php when the extended author plugin is deactivated, but there is a -1 copyright

also added primary key to CR_media (the media_id)
and changed CR_id to NOT NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/maintain.inc.php

    r11656 r11844  
    3939    CREATE TABLE IF NOT EXISTS ".$prefixeTable."copyrights_media (
    4040      media_id int(11) NOT NULL,
    41       cr_id int(11) default NULL
     41      cr_id int(11) NOT NULL,
     42      PRIMARY KEY (media_id)
    4243    ) ENGINE = MyISAM DEFAULT CHARACTER SET utf8
    4344    ;";
Note: See TracChangeset for help on using the changeset viewer.