private function sanitizeRequest()
    {
        // The label filter does not work with expanded=1 because the data table IDs have a different meaning
        // depending on whether the table has been loaded yet. expanded=1 causes all tables to be loaded, which
        // is why the label filter can't descend when a recursive label has been requested.
        // To fix this, we remove the expanded parameter if a label parameter is set.
        if (isset($this->request['label']) && !empty($this->request['label'])
            && isset($this->request['expanded']) && $this->request['expanded']
        ) {
            unset($this->request['expanded']);
        }
    }
private function sanitizeRequest()
    {
        // The label filter does not work with expanded=1 because the data table IDs have a different meaning
        // depending on whether the table has been loaded yet. expanded=1 causes all tables to be loaded, which
        // is why the label filter can't descend when a recursive label has been requested.
        // To fix this, we remove the expanded parameter if a label parameter is set.
        if (isset($this->request['label']) && !empty($this->request['label'])
            && isset($this->request['expanded']) && $this->request['expanded']
        ) {
            unset($this->request['expanded']);
        }
    }
private function sanitizeRequest ( ) { // The label filter does not work with expanded=1 because the data table IDs have a different meaning // depending on whether the table has been loaded yet. expanded=1 causes all tables to be loaded, which // is why the label filter can't descend when a recursive label has been requested. // To fix this, we remove the expanded parameter if a label parameter is set. if ( isset ( $ this -> request [ 'label' ] ) && ! empty ( $ this -> request [ 'label' ] ) && isset ( $ this -> request [ 'expanded' ] ) && $ this -> request [ 'expanded' ] ) { unset ( $ this -> request [ 'expanded' ] ) ; } }
Make sure that the request contains no logical errors
Make sure that the request contains no logical errors