Skip to content

Commit

Permalink
Do not process subforms with PMA_MINIMUM_COMMON
Browse files Browse the repository at this point in the history
In such case needed infrastructure is not loaded, so related code won't
work anyway.

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jan 26, 2016
1 parent 447c88f commit f83b527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/common.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
* so we now check if a subform is submitted
*/
$__redirect = null;
if (isset($_POST['usesubform'])) {
if (isset($_POST['usesubform']) && ! defined('PMA_MINIMUM_COMMON')) {
// if a subform is present and should be used
// the rest of the form is deprecated
$subform_id = key($_POST['usesubform']);
Expand Down

0 comments on commit f83b527

Please sign in to comment.