forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: sjordan on April 06, 2006, 04:13:04 am

Title: Possible _GET and _POST var inversion in editpics.php
Post by: sjordan on April 06, 2006, 04:13:04 am
Lines 32 and 33 of editpics.php in CPG 1.4.4 contain the lines

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

Wondering whether they should read ...

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