Possible _GET and _POST var inversion in editpics.php Possible _GET and _POST var inversion in editpics.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Possible _GET and _POST var inversion in editpics.php

Started by sjordan, April 06, 2006, 04:13:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sjordan

Lines 32 and 33 of editpics.php in CPG 1.4.4 contain the lines


} elseif (isset($_GET['album'])) {
        $album_id = (int)$_POST['album'];


Wondering whether they should read ...


} elseif (isset($_POST['album'])) {
        $album_id = (int)$_POST['album'];
CODE]