Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Trehinos committed Jan 17, 2023
2 parents ecc4cde + c9009e6 commit d666754
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/res/views/menu.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@
function menuClick($elem) {
let url = $elem.data("url");
unselect($("#menu ul li a"));
loadPage(url, null, (response) => {
$elem.addClass("active");
unselect($("#menu ul li a"));
if ($elem.hasClass("dropdown-item")) {
$elem.parent().parent().parent().find("a.dropdown-toggle").addClass("active");
}
Expand Down
5 changes: 5 additions & 0 deletions thor/Database/PdoExtension/PdoRequester.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,9 @@ final public function getPdoHandler(): PdoHandler
return $this->handler;
}

static function in(array $elements) : string
{
return '(' . implode(',', array_fill(0, count($elements), '?')) . ')';
}

}

0 comments on commit d666754

Please sign in to comment.