[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.92,1.93

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Sat Jun 28 08:52:41 EDT 2003


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

Modified Files:
	story.php 
Log Message:
Stupid typo: Use '==', not '=' for comparison ...


Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -d -r1.92 -r1.93
*** story.php	21 Jun 2003 08:52:47 -0000	1.92
--- story.php	28 Jun 2003 12:52:38 -0000	1.93
***************
*** 196,200 ****
              . ' ' . $publish_hour . ':' . $A['publish_minute'] . ':00');
      }
!     
      if (!empty($A['title'])) {
          $display .= COM_startBlock ($LANG24[26], '',
--- 196,200 ----
              . ' ' . $publish_hour . ':' . $A['publish_minute'] . ':00');
      }
! 
      if (!empty($A['title'])) {
          $display .= COM_startBlock ($LANG24[26], '',
***************
*** 899,903 ****
          }
  
!         if ($type = 'submission') {
              $return_to = $_CONF['site_admin_url'] . '/moderation.php?msg=9';
          } else {
--- 899,903 ----
          }
  
!         if ($type == 'submission') {
              $return_to = $_CONF['site_admin_url'] . '/moderation.php?msg=9';
          } else {
***************
*** 907,911 ****
  
          // If this is done as part of moderation stuff then delete the submission
!         if ($type = 'submission') {
              DB_delete($_TABLES['storysubmission'],'sid',$sid);
          }
--- 907,911 ----
  
          // If this is done as part of moderation stuff then delete the submission
!         if ($type == 'submission') {
              DB_delete($_TABLES['storysubmission'],'sid',$sid);
          }





More information about the geeklog-cvs mailing list