Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -40,7 +40,9 @@ class _supportAutoresolve extends \IPS\Task
|
||||
{
|
||||
/* Build where */
|
||||
$where = array();
|
||||
$where[] = array( \IPS\Db::i()->in( 'r_status', explode( ',', \IPS\Settings::i()->nexus_autoresolve_applicable ) ) );
|
||||
$where[] = array( \IPS\Db::i()->in( 'r_status', array_filter( explode( ',', \IPS\Settings::i()->nexus_autoresolve_applicable ), function( $val ) {
|
||||
return $val != \IPS\Settings::i()->nexus_autoresolve_status;
|
||||
} ) ) );
|
||||
if ( \IPS\Settings::i()->nexus_autoresolve_departments !== '*' )
|
||||
{
|
||||
$where[] = array( \IPS\Db::i()->in( 'r_department', explode( ',', \IPS\Settings::i()->nexus_autoresolve_departments ) ) );
|
||||
|
||||
Reference in new issue
Block a user