[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.712,1.713

Blaine Lang blaine at qs1489.pair.com
Sat Jul 19 15:22:43 EDT 2008


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

Modified Files:
	lib-common.php 
Log Message:
Change to COM_showMessage to add a test for the $plugin parm. If the variable $plugin if not passed into the function, it may still be set in one of the $_REQUEST parms. This was a change suggested by jmucchiello - bugtracker #618

Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.712
retrieving revision 1.713
diff -C2 -d -r1.712 -r1.713
*** lib-common.php	13 Jul 2008 16:47:19 -0000	1.712
--- lib-common.php	19 Jul 2008 19:22:37 -0000	1.713
***************
*** 3845,3849 ****
              }
          }
!         
          $retval .= '<div dir="ltr" class="warningsmall">';
          foreach( $html as $tag => $attr )
--- 3845,3849 ----
              }
          }
! 
          $retval .= '<div dir="ltr" class="warningsmall">';
          foreach( $html as $tag => $attr )
***************
*** 4440,4443 ****
--- 4440,4446 ----
  
      $retval = '';
+     if (empty($plugin) AND !empty($_REQUEST['plugin'])) {
+         $plugin = COM_applyFilter($_REQUEST['plugin']);
+     };
  
      if ($msg > 0) {




More information about the geeklog-cvs mailing list