Fix bug with receiving messages

master
Skylar Ittner 7 years ago
parent 4233acee9c
commit d88ad20665

@ -15,8 +15,8 @@ $messages = $database->select(
], [
"AND" => [
"OR" => [
// TODO: fix to => null
"to" => $_SESSION['uid'],
"to" => null,
"from" => $_SESSION['uid']
],
"deleted" => 0

Loading…
Cancel
Save