HomeHelpTrac

Changeset 15868


Ignore:
Timestamp:
01/11/12 18:31:22 (5 months ago)
Author:
Alexander Trofimov
Message:

Ticket #2731

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/7.0/modules/boonex/forum/classes/Forum.php

    r15852 r15868  
    20362036        $attachments = $this->fdb->getAttachments ($post_id); 
    20372037        foreach ($attachments as $file) { 
    2038             if (false !== array_search ($file['att_hash'], $p['existing_file']))  
     2038            $mixedIndex = array_search ($file['att_hash'], $p['existing_file']); 
     2039            if (false !== $mixedIndex && null !== $mixedIndex)  
    20392040                continue;                 
    20402041            $this->fdb->removeAttachment($file['att_hash']); 
Note: See TracChangeset for help on using the changeset viewer.