/[drupal]/contributions/modules/attachment/attachment.module
ViewVC logotype

Diff of /contributions/modules/attachment/attachment.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.19, Thu Aug 2 04:39:31 2007 UTC revision 1.20, Thu Aug 2 17:38:57 2007 UTC
# Line 152  function attachment_nodeapi(&$node, $op, Line 152  function attachment_nodeapi(&$node, $op,
152        return;        return;
153    
154      case 'prepare':      case 'prepare':
155        if (($_POST['op'] == t('Preview')) || ($_POST['op'] == t('Submit'))) {        if (($_POST['fileop'] == t('Add')) || ($_POST['op'] == t('Preview')) || ($_POST['op'] == t('Submit'))) {
156          $node->attachments = $_POST['attachments'];          $node->attachments = $_POST['attachments'];
157        }        }
158    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.2