Changeset 11839 for trunk/picture.php
- Timestamp:
- Jul 26, 2011, 9:04:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r10970 r11839 314 314 { 315 315 include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php'); 316 rate_picture( 317 $page['image_id'], 318 isset($_POST['rate']) ? $_POST['rate'] : $_GET['rate'] 319 ); 316 rate_picture($page['image_id'], $_POST['rate']); 320 317 redirect($url_self); 321 318 } … … 323 320 { 324 321 check_pwg_token(); 325 326 322 include_once(PHPWG_ROOT_PATH.'include/functions_comment.inc.php'); 327 328 323 check_input_parameter('comment_to_edit', $_GET, false, PATTERN_ID); 329 330 324 $author_id = get_comment_author_id($_GET['comment_to_edit']); 331 332 325 if (can_manage_comment('edit', $author_id)) 333 326 { … … 442 435 while ($row = pwg_db_fetch_assoc($result)) 443 436 { 444 $row['commentable'] = boolean_to_string($row['commentable']);437 $row['commentable'] = get_boolean($row['commentable']); 445 438 array_push($related_categories, $row); 446 439 }
Note: See TracChangeset
for help on using the changeset viewer.