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

Replace "each" function usage with equivalent code

    XMLWordPrintable

    Details

      Description

      Replace 44 usages of "each" function like:

      list($id, $field_values) = each($items_info);

      with

      $id = key($items_info);
      $field_values = $items_info[$id];

       

      If only $field_values is needed, then use $field_values = current($items_info);.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h
                  15h