Skip to content

Bug: getPostGet($index) return $_POST if there is no $index in post and get #3020

Description

@vebomedia

in 4.0.3

$start = $this->request->getPostGet('start');

if( ! empty($start) )
{
//always true because getPostGet('start') return all $_POST if there is no $_POST['start']
}

that was good working on V4.0.2

this function should be return NULL if there no $_POST['start'] && $_GET['start']

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions