[geeklog-cvs] Geeklog-1.x/system lib-story.php,1.126,1.127

Dirk Haun dhaun at qs1489.pair.com
Sun Jul 27 14:10:12 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv16720

Modified Files:
	lib-story.php 
Log Message:
E_ALL fixes


Index: lib-story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v
retrieving revision 1.126
retrieving revision 1.127
diff -C2 -d -r1.126 -r1.127
*** lib-story.php	27 Jul 2008 08:08:16 -0000	1.126
--- lib-story.php	27 Jul 2008 18:10:09 -0000	1.127
***************
*** 1088,1093 ****
  
      if ($args['gl_svc']) {
!         $args['mode'] = COM_applyBasicFilter($args['mode']);
!         $args['editopt'] = COM_applyBasicFilter($args['editopt']);
      }
  
--- 1088,1097 ----
  
      if ($args['gl_svc']) {
!         if (isset($args['mode'])) {
!             $args['mode'] = COM_applyBasicFilter($args['mode']);
!         }
!         if (isset($args['editopt'])) {
!             $args['editopt'] = COM_applyBasicFilter($args['editopt']);
!         }
      }
  
***************
*** 1184,1187 ****
--- 1188,1194 ----
      // END TEST CODE
  
+     if (!isset($args['sid'])) {
+         $args['sid'] = '';
+     }
      $args['sid'] = COM_sanitizeID($args['sid']);
      if (!$gl_edit) {




More information about the geeklog-cvs mailing list