diff options
author | Mario <mario@mariovavti.com> | 2022-10-26 18:12:56 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-26 18:12:56 +0000 |
commit | 40ae6b396f3760c4c4b6e4de776869a88ce07fce (patch) | |
tree | e54516ed5ca3d86faf24e1833c1b88294366f7a9 /Zotlabs/Module/Chat.php | |
parent | 9c117ffa0546d6131310ae175e16e5ebf63992a1 (diff) | |
download | volse-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.php | 3 |
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']) ); |