Skip to content

Commit

Permalink
fix(reminder): visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B authored and btry committed Feb 20, 2024
1 parent eebcc21 commit 8268814
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inc/common.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,6 @@ public static function hookRedefineMenu($menus) {
'ORDER' => "$reminderTable.name"
];
$criteria = $criteria + Reminder::getVisibilityCriteria();
$criteria['WHERE']["$reminderTable.users_id"] = ['<>', Session::getLoginUserID()];
$iterator = $DB->request($criteria);
$hasReminder = $iterator->count() > 0;

Expand Down

0 comments on commit 8268814

Please sign in to comment.