Changeset 1216

Show
Ignore:
Timestamp:
08/09/2008 09:02:09 AM (11 months ago)
Author:
DarTar
Message:

Notices in edit screen, refs #496

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/handlers/edit/edit.php

    r1197 r1216  
    112112        } 
    113113 
    114         if ($_POST) 
     114        if (isset($_POST['submit'])) 
    115115        { 
    116116                // Retrieve draft version 
     
    139139 
    140140                // we don't need to escape here, we do that just before display (i.e., treat note just like body!) 
    141                 $note = trim($_POST['note']); 
    142  
     141 
     142                if (isset($POST_['note'])) 
     143                { 
     144                        $note = trim($_POST['note']); 
     145                } 
    143146 
    144147                // Save and continue