Skip to content

Commit

Permalink
Fix 99 for Apply Changes and 999 for Adding devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolás committed Aug 30, 2023
1 parent e7309f6 commit 7969acf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup/var/www/html/admin/issabel_issabelpbx_auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@
$unserialized = unserialize($module_serialized[0]);

// special issabelPBX section, not in modules.xml, needed for reload bar and also device type selection on extensions section
$reloadbar = array('menuitems'=>array('999'=>'Add Devices'),'embedcategory'=>'dummy');
$adddevice = array('menuitems'=>array('999'=>'Add Devices'),'embedcategory'=>'dummy');
$unserialized['999']=$adddevice;
$reloadbar = array('menuitems'=>array('99'=>'Apply Changes'),'embedcategory'=>'dummy');
$unserialized['999']=$reloadbar;
$unserialized['99']=$reloadbar;

// We do not want to show ampusers section when loaded from issabel framework
unset($unserialized['ampusers']);
Expand Down

0 comments on commit 7969acf

Please sign in to comment.