aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chat.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-26 18:12:56 +0000
committerMario <mario@mariovavti.com>2022-10-26 18:12:56 +0000
commit40ae6b396f3760c4c4b6e4de776869a88ce07fce (patch)
treee54516ed5ca3d86faf24e1833c1b88294366f7a9 /Zotlabs/Module/Chat.php
parent9c117ffa0546d6131310ae175e16e5ebf63992a1 (diff)
downloadvolse-hubzilla-40ae6b396f3760c4c4b6e4de776869a88ce07fce.tar.gz
volse-hubzilla-40ae6b396f3760c4c4b6e4de776869a88ce07fce.tar.bz2
volse-hubzilla-40ae6b396f3760c4c4b6e4de776869a88ce07fce.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Module/Chat.php')
-rw-r--r--Zotlabs/Module/Chat.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Chat.php b/Zotlabs/Module/Chat.php
index 323471161..efe098739 100644
--- a/Zotlabs/Module/Chat.php
+++ b/Zotlabs/Module/Chat.php
@@ -174,7 +174,8 @@ class Chat extends Controller {
$x = Chatroom::enter($observer,$room_id,'online',$_SERVER['REMOTE_ADDR']);
if(! $x)
return;
- $x = q("select * from chatroom where cr_id = %d and cr_uid = %d $sql_extra limit 1",
+
+ $x = q("select * from chatroom where cr_id = %d and cr_uid = %d limit 1",
intval($room_id),
intval(App::$profile['profile_uid'])
);