Changes in [2706:c7f1c1418fbf:2710:f99841305743]
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgtags
r2580 r2637 18 18 dc51785c0e18369445c71dfdc268c6034e61f681 2.6.0 19 19 185f7650c1d86e4a5680c2d3b1da5628253091f5 2.6.1 20 1f8978ee39fc70bf9a6c345cf3b550722b819173 2.6.2 -
CHANGELOG
r2578 r2636 1 Dotclear 2.6.2 - 2014-01-20 2 =========================================================== 3 * Security fix: Fixed potential code injection on password protected post/page. Thanks to Charlie Briggs 4 * Bugfix: cope with numeric module (plugin/theme) id 5 * Bugfix: Bad SQL syntax when using SQLite 6 * Bugfix: BlogParentThemeURL template value is back 7 * Various bug fixes 8 1 9 Dotclear 2.6.1 - 2013-11-22 2 10 =========================================================== -
admin/categories.php
r2567 r2710 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.categories.php
r2566 r2707 190 190 public function updatePosition($id,$left,$right) 191 191 { 192 $node_left = (integer) $left; 193 $node_right = (integer) $right; 194 $node_id = (integer) $id; 192 195 $sql = 'UPDATE '.$this->table.' SET ' 193 .$this->f_left.' = '.$ left.', '194 .$this->f_right.' = '.$ right195 .' WHERE '.$this->f_id .' = '. (integer) $id196 .$this->f_left.' = '.$node_left.', ' 197 .$this->f_right.' = '.$node_right 198 .' WHERE '.$this->f_id .' = '.$node_id 196 199 .$this->getCondition(); 197 200 -
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.