Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1053

Use temp variables to process nested "current" function calls

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 5.2.0-RC1
    • Component/s: Database
    • Labels:
      None

      Description

      I'm seeing notice, that php can't pass argument by reference each time, when I use $this->Conn->GetOne method and debug mode is enabled.

      This is happening, because we us current(current($ret)) construct and "current" function tries to modify given argument, which is not a variable, but a function result.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: