Ignore:
Timestamp:
Aug 9, 2011, 2:40:00 PM (9 years ago)
Author:
flop25
Message:

correction for Sqlite3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/admin/maintain.inc.php

    r11823 r11923  
    1414      );
    1515     
    16     $query = '
    17 INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
    18 VALUES ("stripped_black_bloc" , "'.pwg_db_real_escape_string(serialize($config)).'" , "color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)");';
    19 
     16    $query = "
     17INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
     18VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)');";
    2019    pwg_query($query);
    2120  }
Note: See TracChangeset for help on using the changeset viewer.