[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.87,1.88

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon Apr 21 05:53:00 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv30634

Modified Files:
	story.php 
Log Message:
Fix for problems with quotes in story titles.


Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** story.php	10 Apr 2003 17:23:07 -0000	1.87
--- story.php	21 Apr 2003 09:52:58 -0000	1.88
***************
*** 291,295 ****
      $A['title'] = str_replace('{','{',$A['title']);
      $A['title'] = str_replace('}','}',$A['title']);
!     $story_templates->set_var('story_title', stripslashes($A['title']));
      $story_templates->set_var('lang_topic', $LANG24[14]);
      if (empty ($A['tid'])) {
--- 291,296 ----
      $A['title'] = str_replace('{','{',$A['title']);
      $A['title'] = str_replace('}','}',$A['title']);
!     $story_templates->set_var('story_title',
!                               htmlspecialchars (stripslashes ($A['title'])));
      $story_templates->set_var('lang_topic', $LANG24[14]);
      if (empty ($A['tid'])) {





More information about the geeklog-cvs mailing list