Fix the mode definition for the Grandstream expansion keys.

This commit is contained in:
markjcrane 2015-11-30 13:09:02 -07:00
parent 675544a655
commit 8b3e6e7a96
1 changed files with 15 additions and 15 deletions

View File

@ -664,7 +664,7 @@ include "root.php";
case "ldap search": $device_key_type = "21"; break; case "ldap search": $device_key_type = "21"; break;
} }
} }
if ($device_key_category == "memory") { if ($device_key_category == "memory" || $device_key_category == "expansion") {
switch ($device_key_type) { switch ($device_key_type) {
case "speed dial": $device_key_type = "0"; break; case "speed dial": $device_key_type = "0"; break;
case "blf": $device_key_type = "1"; break; case "blf": $device_key_type = "1"; break;