Changeset 16654


Ignore:
Timestamp:
Jul 12, 2012, 4:40:34 PM (12 years ago)
Author:
mistic100
Message:

wrong sql query

File:
1 edited

Legend:

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

    r16104 r16654  
    4949  foreach ($name_changes as $old => $new)
    5050  {
    51     pwg_query('UPDATE TABLE ' . smart_table . ' SET cond = "'.$new.'" WHERE cond = "'.$old.'";');
     51    pwg_query('UPDATE ' . smart_table . ' SET cond = "'.$new.'" WHERE cond = "'.$old.'";');
    5252  }
    5353}
Note: See TracChangeset for help on using the changeset viewer.