mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 05:09:11 +00:00
wip
This commit is contained in:
1 parent
2a439371be
commit
351253cc19
3 files changed
+171
-12
No files matched your search
@@ -135,7 +135,7 @@ class DatabaseSubdomainRepository implements SubdomainRepository
|
||||
{
|
||||
$deferred = new Deferred();
|
||||
|
||||
$this->database->query('DELETE FROM subdomains WHERE id = :id AND user_id = :user_id', [
|
||||
$this->database->query('DELETE FROM subdomains WHERE (id = :id OR subdomain = :id) AND user_id = :user_id', [
|
||||
'id' => $subdomainId,
|
||||
'user_id' => $userId,
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user