Skip to content

Commit

Permalink
Merge pull request #809 from Patriboom/master
Browse files Browse the repository at this point in the history
Correction aux requetes WhereNotIn
  • Loading branch information
Patriboom authored Jul 27, 2022
2 parents 2d9fe65 + d4ad496 commit 9b6e759
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 9b6e759

Please sign in to comment.