FreePBX
  1. FreePBX
  2. FREEPBX-5360

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

    Details

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

      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.

        Activity

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

        how do you figure?

        Show
        Moshe Brevda added a comment - how do you figure?
        Hide
        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 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
        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
        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:
            Moshe Brevda
            Reporter:
            mickecarlsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development