mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Replce array_first_key() with array_key_first(), etc.
This commit is contained in:
parent
1c92b1baf5
commit
4193edde25
7 changed files with 12 additions and 12 deletions
|
|
@ -220,7 +220,7 @@
|
|||
{@ $conf_exists = config("sms.$driver_name.api_key")}
|
||||
<select type="select" name="sms_{$driver_name}_{$conf_name}" id="sms_{$driver_name}_{$conf_name}">
|
||||
<!--@foreach($driver_definition['api_urls'] as $api_url => $api_url_name)-->
|
||||
<option value="{$api_url}" selected="selected"|cond="$conf_value === $api_url || (!$conf_value && $conf_exists && $api_url === array_last_key($driver_definition['api_urls']))">{$api_url_name}</option>
|
||||
<option value="{$api_url}" selected="selected"|cond="$conf_value === $api_url || (!$conf_value && $conf_exists && $api_url === array_key_last($driver_definition['api_urls']))">{$api_url_name}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue