Ignore:
Timestamp:
Jul 27, 2011, 8:43:32 PM (9 years ago)
Author:
Mattias
Message:

Fixed another bug in maintain.inc.php

it works now :-/

File:
1 edited

Legend:

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

    r11845 r11846  
    6666  $query = '
    6767        INSERT INTO '.$prefixeTable.'copyrights_admin
    68         VALUES (-1, \'Author\'s default copyright\', \'\', \'This is the default copyright for an author.\', 1)
     68        VALUES (-1, \'Author\'\'s default copyright\', \'\', \'This is the default copyright for an author.\', 1)
    6969        ON DUPLICATE KEY UPDATE cr_id = -1
    7070    ;';
     
    9090  $query = '
    9191    DELETE
    92     FROM %s
     92    FROM '.$prefixeTable.'copyrights_admin
    9393    WHERE cr_id = -1
    94     ;',
    95     COPYRIGHTS_ADMIN);
     94    ;';
    9695  pwg_query($query);
    9796 
     
    9998  $query = '
    10099    DELETE
    101     FROM %s
     100    FROM '.$prefixeTable.'copyrights_media
    102101    WHERE cr_id = -1
    103     ;',
    104     COPYRIGHTS_MEDIA);
     102    ;';
    105103  pwg_query($query); 
    106104}
Note: See TracChangeset for help on using the changeset viewer.