Results 1 to 2 of 2

Thread: Use stripslashes() on catname in forms

  1. #1
    Thread Starter
    86HW's Avatar
    Join Date
    Jul 2010
    Location
    United States
    Posts
    14
    Thanks
    2
    Thanked 1 Time in 1 Post

    Use stripslashes() on catname in forms

    I've found a bug that is fairly easily fixed with stripslashes().

    If the correct punctuation of a Category title inclues ' then it will show as \' in the second step of the form. This is easily fixed by calling stripslashes() on the catname in the cp_formbuilder_review function. The edited line would look like:

    PHP Code:
    <div id="review"><?php echo stripslashes($_POST['catname']); ?></div>
    Hopefully this minor fix can be implemented in the next release.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,696
    Thanks
    166
    Thanked 3,390 Times in 3,261 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. İ cant see Forms
    By evcilarabul in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: November 11th, 2015, 11:36 AM
  2. 2 forms for 2 times
    By milsou in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: October 17th, 2010, 07:37 AM
  3. Tags in forms
    By smooth1 in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: August 5th, 2010, 04:55 AM
  4. Can you hide some of the forms?
    By TheSyndicate in forum Report ClassiPress Bugs
    Replies: 0
    Last Post: July 20th, 2010, 04:34 AM