EventView.php
authorAlan Knowles <alan@roojs.com>
Tue, 9 Oct 2018 07:14:55 +0000 (15:14 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 9 Oct 2018 07:14:55 +0000 (15:14 +0800)
EventView.php

index bb6794c..a8d733f 100644 (file)
@@ -86,9 +86,9 @@ class Pman_Admin_EventView extends Pman
             echo "<HR><H2>JSON DECODE Data:</H2>";
             echo '<PRE>' . print_r($json, true) . '</PRE>';
         }
-        
+        $filesJ = json_decode(file_get_contents($file));
         if (!empty($filesJ->FILES )) {
-            $filesJ = json_decode(file_get_contents($file));
+            
             echo '<br /><PRE>Download files</PRE>';