Dotclear

Changeset 1808:7cb106195d0d for inc


Ignore:
Timestamp:
09/13/13 12:37:01 (12 years ago)
Author:
Dsls
Branch:
actionsreloaded
Message:

fixed missing posts_ids on lang change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/actions/class.dcactionposts.php

    r1806 r1808  
    307307     } 
    308308     public static function doChangePostLang($core, dcPostsActionsPage $ap, $post) { 
     309          $posts_ids = $ap->getIDs(); 
     310          if (empty($posts_ids)) { 
     311               throw new Exception(__('No entry selected')); 
     312          } 
    309313          if (isset($post['new_lang'])) { 
    310314               $new_lang = $post['new_lang']; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map