/[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.18.2.1, Thu Aug 2 17:03:23 2007 UTC revision 1.18.2.2, Thu Aug 2 17:37:32 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.18.2.1  
changed lines
  Added in v.1.18.2.2

  ViewVC Help
Powered by ViewVC 1.1.2