diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:59:50 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:59:50 +0100 |
commit | 464f024fa9501b2644a02198768d32f6d057f4bb (patch) | |
tree | 8cc0dae1a953c2e50f0c0df4176e59ac0c012e96 /apps/workflowengine | |
parent | b9bbb894f8b01e000bb5e3a8a82db7bebad3ea00 (diff) | |
download | nextcloud-server-464f024fa9501b2644a02198768d32f6d057f4bb.tar.gz nextcloud-server-464f024fa9501b2644a02198768d32f6d057f4bb.zip |
Use stripos instead of strpos(strtolower(), 'something')
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Controller/RequestTime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Controller/RequestTime.php b/apps/workflowengine/lib/Controller/RequestTime.php index dd0efa89b91..1a07ca20a4d 100644 --- a/apps/workflowengine/lib/Controller/RequestTime.php +++ b/apps/workflowengine/lib/Controller/RequestTime.php @@ -37,7 +37,7 @@ class RequestTime extends Controller { if ($search !== '') { $timezones = array_filter($timezones, function ($timezone) use ($search) { - return strpos(strtolower($timezone), strtolower($search)) !== false; + return stripos($timezone, $search) !== false; }); } |