mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
Change phone adapter meta number to type phone_number + add support for boolean adapter data + add a noStaupClose to ovh adapter
This commit is contained in:
parent
9c9f99c87a
commit
a0f3784baa
8 changed files with 85 additions and 17 deletions
|
@ -211,7 +211,7 @@ class Phone extends \descartes\Controller
|
|||
//If field phone number is invalid
|
||||
foreach ($find_adapter['meta_data_fields'] as $field)
|
||||
{
|
||||
if (false === ($field['number'] ?? false))
|
||||
if ('phone_number' !== ($field['type'] ?? false))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue