[geeklog-cvs] geeklog-1.3/system lib-story.php,1.14,1.15

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Fri Dec 31 05:31:37 EST 2004


Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv22304/system

Modified Files:
	lib-story.php 
Log Message:
Added missing stripslashes() call for the topic name (bug #351)


Index: lib-story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-story.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** lib-story.php	22 Dec 2004 16:10:30 -0000	1.14
--- lib-story.php	31 Dec 2004 10:31:35 -0000	1.15
***************
*** 424,428 ****
          // add a link to "search by topic"
          $topic = DB_getItem( $_TABLES['topics'], 'topic', "tid = '$tid'" );
!         $rel[] = "<a href=\"{$_CONF['site_url']}/search.php?mode=search&type=stories&topic=$tid\">{$LANG24[38]} $topic</a>";
      }
  
--- 424,430 ----
          // add a link to "search by topic"
          $topic = DB_getItem( $_TABLES['topics'], 'topic', "tid = '$tid'" );
!         $rel[] = '<a href="' . $_CONF['site_url']
!                . '/search.php?mode=search&type=stories&topic=' . $tid
!                . '">' . $LANG24[38] . ' ' . stripslashes( $topic ) . '</a>';
      }
  




More information about the geeklog-cvs mailing list