Skip to content

Commit

Permalink
Reformatted directory path conditional statement
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Jun 11, 2017
1 parent 26b9c14 commit 1175310
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/DirectoryLister.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ public function listBreadcrumbs($directory = null) {
if ($dir != '.') {

// Build the directory path
if ($dirPath === null) $dirPath = $dir;
else $dirPath = $dirPath . '/' . $dir;
$dirPath = null ? $dir : $dirPath . '/' . $dir;

// Combine the base path and dir path
$link = $this->_appURL . '?dir=' . rawurlencode($dirPath);
Expand Down

0 comments on commit 1175310

Please sign in to comment.