HomeHelpTrac

Changeset 13160


Ignore:
Timestamp:
11/07/09 01:46:08 (2 years ago)
Author:
Leonid Sokushev
Message:

ticket #1389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolFilesUploader.php

    r13091 r13160  
    649649    function addObjectToAlbum (&$oAlbums, $sAlbumUri, $iObjId, $bUpdateCounter = true) { 
    650650        $iObjId = (int)$iObjId; 
    651         $aAlbumInfo = $oAlbums->getAlbumInfo(array('fileUri'=>$sAlbumUri, 'owner'=>$this->_iOwnerId), array('ID')); 
     651        $aAlbumInfo = $oAlbums->getAlbumInfo(array('fileUri'=>uriFilter($sAlbumUri), 'owner'=>$this->_iOwnerId), array('ID')); 
    652652        if (is_array($aAlbumInfo) && count($aAlbumInfo) > 0) { 
    653653            $iAlbumID = (int)$aAlbumInfo['ID']; 
Note: See TracChangeset for help on using the changeset viewer.