Changeset 11681


Ignore:
Timestamp:
07/10/11 00:24:57 (8 years ago)
Author:
plg
Message:

fix bug: quotes are double escaped when arriving in showcase database, need to unprotect strings before sending them to pwg.showcase.subscribe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/showcase_subscribe/admin.php

    r11668 r11681  
    7777    'url' => get_absolute_root_url(), 
    7878    'date_creation' => $date_creation, 
    79     'name' => $_POST['title'], 
    80     'comment' => $_POST['description'], 
    81     'tags' => $_POST['tags'], 
    82     'author' => $_POST['author'], 
     79    'name' => stripslashes($_POST['title']), 
     80    'comment' => stripslashes($_POST['description']), 
     81    'tags' => stripslashes($_POST['tags']), 
     82    'author' => stripslashes($_POST['author']), 
    8383    'email' => $_POST['email'], 
    8484    ); 
Note: See TracChangeset for help on using the changeset viewer.