mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 09:56:34 +02:00
Add phone limits to list
This commit is contained in:
parent
fb58802240
commit
6353d5115b
2 changed files with 59 additions and 0 deletions
|
@ -55,6 +55,9 @@ class Phone extends \descartes\Controller
|
|||
|
||||
foreach ($phones as &$phone)
|
||||
{
|
||||
$limits = $this->internal_phone->get_limits($phone['id']);
|
||||
$phone['limits'] = $limits;
|
||||
|
||||
$adapter = $adapters[$phone['adapter']] ?? false;
|
||||
|
||||
if (!$adapter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue