Ignore:
Timestamp:
Feb 18, 2011, 11:53:06 AM (13 years ago)
Author:
patdenice
Message:

New functionalities

File:
1 edited

Legend:

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

    r9270 r9272  
    1818groups VARCHAR( 255 ) NULL DEFAULT NULL ,
    1919permalink VARCHAR( 64 ) NULL DEFAULT NULL ,
    20 standalone ENUM( "true", "false" ) NOT NULL DEFAULT "false"
     20standalone ENUM( "true", "false" ) NOT NULL DEFAULT "false" ,
    2121PRIMARY KEY (id) ,
    2222INDEX (pos) ,
     
    3535      'homepage' => null,
    3636    );
     37
    3738    $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
    38 VALUES ("additional_pages" , "'.addslashes(serialize($config)).'" , "Additional Pages config configuration");';
     39VALUES ("additional_pages" , "'.pwg_db_real_escape_string(serialize($config)).'" , "Additional Pages config configuration");';
    3940    pwg_query($query);
    4041  }
Note: See TracChangeset for help on using the changeset viewer.