Changeset 1733

Show
Ignore:
Timestamp:
09/02/08 05:04:38 (3 months ago)
Author:
momo-i
Message:

Fixed not defined get_image_from_source()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/albums.php

    r1672 r1733  
    4545                // Pull the image information 
    4646                $data = array('file'=>$_FILES['file']['tmp_name']);  
    47                 $image_data = get_image_from_source($data);  
     47                $image_data = Album::get_image_from_source($data);  
    4848 
    4949                // If we got something back insert it 
     
    7474                        $upload['file'] = $_FILES['file']['tmp_name']; 
    7575                        $upload['mime'] = 'image/' . $path_info['extension'];  
    76                         $image_data = get_image_from_source($upload);  
     76                        $image_data = Album::get_image_from_source($upload);  
    7777 
    7878                        if ($image_data) {  
     
    146146                $album_id = $_REQUEST['album_id']; 
    147147                 
    148                 $image  = get_image_from_source($_SESSION['form']['images'][$image_id]); 
     148                $image  = Album::get_image_from_source($_SESSION['form']['images'][$image_id]); 
    149149                $mime   = $_SESSION['form']['images'][$image_id]['mime']; 
    150150