Skip to content

Commit

Permalink
Folder navigation checking issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Buddhima committed Jun 7, 2014
1 parent ddf2210 commit cbfbd12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion administrator/components/com_media/media.php
Expand Up @@ -59,6 +59,6 @@
$controller = $controllerHelper->parseController($app);

$controller->prefix = 'Media';
print_r($input->get);throw new ewewewe();
// print_r($input->get);throw new ewewewe();
// Perform the Request task
$controller->execute();
2 changes: 1 addition & 1 deletion administrator/components/com_media/view/medialist/html.php
Expand Up @@ -52,7 +52,7 @@ public function render()
$state = $this->model->getState();

// Check for invalid folder name
if (empty($state->folder)) {
if ($state->get('folder') == null) {
$dirname = JRequest::getVar('folder', '', '', 'string');
if (!empty($dirname)) {
$dirname = htmlspecialchars($dirname, ENT_COMPAT, 'UTF-8');
Expand Down

0 comments on commit cbfbd12

Please sign in to comment.