Dotclear


Ignore:
Timestamp:
12/08/09 11:40:31 (14 years ago)
Author:
Tomtom33
Message:

dotajax 1.0.1 :

  • fixes bug. offset parameter is now available
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dotajax/class.blogrest.php

    r1679 r1946  
    2828          $allowed_params=array('post_id','post_url','user_id','cat_id','cat_url', 
    2929               'post_selected','post_year','post_month','post_day','post_lang', 
    30                'search','order','limit','post_type'); 
     30               'search','order','limit','post_type','offset'); 
    3131          $no_content=isset($get['no_content']); 
    3232          $count_only = isset($get['count_only']); 
     
    3939          if ($no_content) 
    4040               $params['no_content']=1; 
     41                
     42          if (isset($params['offset']) && isset($params['limit'])) { 
     43               $params['limit'] = array($params['offset'],$params['limit']); 
     44               unset($params['offset']); 
     45          } 
    4146 
    4247 
Note: See TracChangeset for help on using the changeset viewer.

Sites map