Changeset 2709:d70f7e2cb2c9
- Timestamp:
- 05/15/14 08:35:38 (11 years ago)
- Branch:
- 2.6
- Children:
- 2710:f99841305743, 2712:121f94747a10
- Files:
-
- 2 edited
-
admin/categories.php (modified) (1 diff)
-
inc/core/class.dc.xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r2566 r2709 73 73 74 74 foreach ($categories as $category) { 75 if (!empty($category->item_id) ) {75 if (!empty($category->item_id) && !empty($category->left) && !empty($category->right)) { 76 76 $core->blog->updCategoryPosition($category->item_id, $category->left, $category->right); 77 77 } -
inc/core/class.dc.xmlrpc.php
r2566 r2709 264 264 private function setUser($user_id,$pwd) 265 265 { 266 if ($this->core->auth->userID() == $user_id) { 267 return true; 268 } 269 270 if ($this->core->auth->checkUser($user_id,$pwd) !== true) { 266 if (empty($pwd) || $this->core->auth->checkUser($user_id,$pwd) !== true) { 271 267 throw new Exception('Login error'); 272 268 }
Note: See TracChangeset
for help on using the changeset viewer.
