Changeset 948
- Timestamp:
- 03/26/09 21:42:06 (14 years ago)
- bzr:base-revision:
- dsls@kissifrott-20090325130520-dy7smnk4n2shaahu
- bzr:committer:
- dsls <dsls@kissifrott>
- bzr:mapping-version:
- v4
- bzr:repository-uuid:
- b35155ea-a742-4b26-8089-0891bb790021
- bzr:revision-id:
- dsls@kissifrott-20090326204134-stz5n9wjsnwqp1yh
- bzr:revno:
- 28
- bzr:revprop:branch-nick:
- gallery
- bzr:root:
- plugins/gallery/trunk
- bzr:timestamp:
- 2009-03-26 21:41:34.923000097 +0100
- bzr:user-agent:
- bzr1.13rc1+bzr-svn0.5.3
- svn:original-date:
- 2009-03-26T20:41:34.923000Z
- Location:
- plugins/gallery/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/gallery/trunk/_public_urlhandlers.php
r935 r948 289 289 290 290 $gal=null; 291 if( isset($_GET['autogallery'])){292 $gal = $GLOBALS['core']->gallery->getImageGalleries($GLOBALS['_ctx']->post ->post_id);291 if(array_key_exists('autogallery',$_GET)){ 292 $gal = $GLOBALS['core']->gallery->getImageGalleries($GLOBALS['_ctx']->posts->post_id); 293 293 } 294 294 … … 306 306 $gal = $GLOBALS['core']->gallery->getGalleries(array('post_url'=>$GLOBALS['_ctx']->gallery_url)); 307 307 } 308 if ($gal != null ) {308 if ($gal != null && !$gal->isEmpty()) { 309 309 $meta = $GLOBALS['core']->meta->getMetaArray($gal->post_meta); 310 310 if (isset($meta['galtheme'])) { -
plugins/gallery/trunk/_pubrest.php
r935 r948 38 38 $sortby=''; 39 39 switch ($get['sortby']) { 40 case 'title': $sortby = ' post_title'; break;41 case 'selected' : $sortby = ' post_selected'; break;40 case 'title': $sortby = 'P.post_title'; break; 41 case 'selected' : $sortby = 'P.post_selected'; break; 42 42 case 'author' : $sortby = 'user_id'; break; 43 case 'date' : $sortby = ' post_dt'; break;44 case 'id' : $sortby = ' post_id'; break;43 case 'date' : $sortby = 'P.post_dt'; break; 44 case 'id' : $sortby = 'P.post_id'; break; 45 45 } 46 46 if ($sortby != '') {
Note: See TracChangeset
for help on using the changeset viewer.