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

Argument is missing for function in queues functions.inc.php

    Details

    • Type: Bugs
    • Status: Closed (View Workflow)
    • Resolution: Invalid
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: Queues
    • Labels:
      None

      Description

      In r12623 code was changed to use ivr_get_details. That function needs an argument:

      function ivr_get_details($id)

      Code in functions.inc.php in queues is missing that.

        Attachments

          Activity

          Hide
          mickecarlsson mickecarlsson added a comment -
          Show
          mickecarlsson mickecarlsson added a comment - (In http://www.freepbx.org/trac/changeset/12263 ) that is
          Hide
          mbrevda Moshe Brevda added a comment -

          how do you figure?

          Show
          mbrevda Moshe Brevda added a comment - how do you figure?
          Hide
          mickecarlsson mickecarlsson added a comment -

          In freepbx_debug.log

          2011-Sep-14 22:52:58    /var/www/html/admin/modules/ivr/functions.inc.php:445
          [WARNING]: Missing argument 1 for ivr_get_details(), called in /var/www/html/admin/modules/queues/page.queues.php on line 998 and defined

          Show
          mickecarlsson mickecarlsson added a comment - In freepbx_debug.log 2011-Sep-14 22:52:58 /var/www/html/admin/modules/ivr/functions.inc.php:445 [WARNING]: Missing argument 1 for ivr_get_details(), called in /var/www/html/admin/modules/queues/page.queues.php on line 998 and defined
          Hide
          mbrevda Moshe Brevda added a comment -

          ivr_get_details() doesn't require any arguments... are you sure your system is up to date?

          function ivr_get_details($id = '') {

          Show
          mbrevda Moshe Brevda added a comment - ivr_get_details() doesn't require any arguments... are you sure your system is up to date? function ivr_get_details($id = '') {

            People

            • Assignee:
              mbrevda Moshe Brevda
              Reporter:
              mickecarlsson mickecarlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: