Skip to content

Commit

Permalink
Correction aux requetes WhereNotIn
Browse files Browse the repository at this point in the history
  • Loading branch information
Patriboom committed Jul 27, 2022
1 parent 9a20c73 commit d4ad496
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/application/config/tinyissue.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
return array(
'release_date' => '26-07-2022',
'release_date' => '27-07-2022',
'version' => '1.9',
'release' => '1b'
'release' => '1b_b'
);
2 changes: 1 addition & 1 deletion app/application/libraries/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static function letMailIt ($details, $UserID = 0, $Langue = NULL) {
->where('users.email', '<>', '')
->whereNotNull('users.email')
->where('following.issue_id', '=', $detail['IssueID'])
->whereNotIn('following.user_id', (($detail['Type'] == 'Issue' && $detail['SkipUser']) ? array($UserID) : array(0)))
->where_not_in('following.user_id', (($detail['Type'] == 'Issue' && $detail['SkipUser']) ? array($UserID) : array(0)))
->where('following.project', '=', (($detail['Type'] == 'Issue') ? 0 : 1 ))
->order_by('users.id')
->get();
Expand Down
2 changes: 1 addition & 1 deletion app/application/models/project.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function users_not_in() {

foreach($this->users()->get(array('user_id')) as $user) { $users[] = $user->id; }
$results = User::where('deleted', '=', 0);
if(count($users) > 0) { $results->whereNotIn('id', $users); }
if(count($users) > 0) { $results->where_not_in('id', $users); }

return $results->get();
}
Expand Down
Binary file added app/assets/images/screenshots/BUGS_Login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d4ad496

Please sign in to comment.