Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1268

Undefined variable: name in z-push-admin

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.3.7
    • Fix Version/s: 2.3.8 beta1, 2.3.8
    • Component/s: None
    • Labels:
      None

      Description

      08/08/2017 23:23:24 [18960] [WARN] [unknown] /usr/share/z-push/z-push-admin.php:825 Undefined variable: name (8)
      

      Reported at: https://forum.kopano.io/topic/516/upgrade-to-z-push-2-3-7-logging-lots-of-no-changes-received-from-exporter/6

      The code:

                          if ($name == KOE_GAB_NAME) {
                              $gentype = "GAB";
                          }
      

      but $name is not available at that part of the code. It should be $df['name'] == KOE_GAB_NAME.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Manfred Manfred Kutas
                Reporter:
                Manfred Manfred Kutas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: