mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
CMS Search
This commit is contained in:
@@ -168,6 +168,9 @@ class SearchBarLib
|
||||
FROM public.tbl_sprache
|
||||
WHERE sprache=" . $this->_ci->db->escape($lang) . "
|
||||
LIMIT 1
|
||||
),
|
||||
auth (uid) AS (
|
||||
SELECT " . $this->_ci->db->escape(getAuthUID()) . " AS uid
|
||||
)";
|
||||
|
||||
if ($sql_with) {
|
||||
@@ -248,6 +251,9 @@ class SearchBarLib
|
||||
WHERE sprache=" . $this->_ci->db->escape($lang) . "
|
||||
LIMIT 1
|
||||
)");
|
||||
array_unshift($with, "auth (uid) AS (
|
||||
SELECT " . $this->_ci->db->escape(getAuthUID()) . " AS uid
|
||||
)");
|
||||
|
||||
return success("
|
||||
WITH " . implode(", ", $with) . "
|
||||
|
||||
Reference in New Issue
Block a user