master
Jean-Christian Paul Denis 2022-12-23 15:50:40 +01:00
parent c91b0fef57
commit d8dd602fd2
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class postWidgetText
if (isset($params['option_type'])) {
$params['sql'] .= "AND W.option_type = '" . $this->con->escape($params['option_type']) . "' ";
} else {
$params['sql'] .= "AND W.option_type = '" . $this->con->escape(basename(__DIR__)) . "' ";
$params['sql'] .= "AND W.option_type = '" . $this->con->escape(basename(dirname(__DIR__))) . "' ";
}
unset($params['option_type']);
if (!isset($params['post_type'])) {