Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / blocks [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
08 Aug 2002 19:31:22postnuke_official/html/modules/blockspnadminapi.php,1.18,1.19Paul Rosania
 moving session error to exceptions

Update of /home/cvsroot/postnuke_official/html/modules/blocks
In directory ns7.hostnuke.net:/tmp/cvs-serv13512/blocks

Modified Files:
	pnadminapi.php 
Log Message:
moving session error to exceptions


Index: pnadminapi.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/blocks/pnadminapi.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** pnadminapi.php	30 Jul 2002 02:26:19 -0000	1.18
--- pnadminapi.php	8 Aug 2002 19:31:20 -0000	1.19
***************
*** 264,272 ****
      extract($args);
      
      // Argument check
!     if ((!isset($name)) ||
!         (!isset($template))) {
!         pnSessionSetVar('errormsg', _MODARGSERROR);
!         return false;
      }
  
--- 264,275 ----
      extract($args);
      
+     if (!isset($template)) {
+         $template = '';
+     }
+     
      // Argument check
!     if ((!isset($name))) {
!         pnExceptionSet(PN_SYSTEM_EXCEPTION, 'BAD_PARAM',
!                        new SystemException(__FILE__."(".__LINE__."): Missing block group name."));return;
      }
  


Directory filter : [ all ] / postnuke_official / html / modules / blocks [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3