Skip to content

Commit

Permalink
Merge pull request #49 from nearwood/master
Browse files Browse the repository at this point in the history
v1.63
  • Loading branch information
nearwood authored Nov 8, 2019
2 parents d298969 + 2243d8e commit afb125f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/msqur.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,12 @@ public function view($id)
$html = $e->getHTMLMessage();
} finally {
return $html;
}
}
} else {
error("Null xml");
}
} else {
return $html;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

if (isset($_GET['msq'])) {
$id = $_GET['msq']; //TODO Sanitize
$html = $msqur->view($_GET['msq']);
$html = $msqur->view($id);
if ($html !== null) {
include "view/header.php";
echo $html;
Expand Down

0 comments on commit afb125f

Please sign in to comment.