Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23948

Queue with extension "0" displays "Add" instead of "Edit" due to 0 evaluating as false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 16.0.19
    • Fix Version/s: None
    • Component/s: Queues
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      16.28.0
    • Distro Version:
      11.6
    • Distro:
      Self Install Debian

      Description

      When editing a queue with extension 0 the extdisplay=0 parameter is evaluated as empty and so is putting Add Queue in the `<h1>` instead of Edit: 0

      See e.g. /admin/config.php?display=queues&view=form&extdisplay=0 after creat
      ing a queue with extension 0.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                asiplas Andrew Siplas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.