Report/SendEventErrors.php
authorAlan Knowles <alan@roojs.com>
Wed, 9 Mar 2016 07:58:09 +0000 (15:58 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Mar 2016 07:58:09 +0000 (15:58 +0800)
Report/SendEventErrors.php

index 436a738..38d4391 100644 (file)
@@ -42,7 +42,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
             'min' => 1,
             'max' => 1,
         ),
-        ,
+     
         'list' => array(
             'desc' => 'list the current actions in the database',
             'short' => 'L',
@@ -67,6 +67,11 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo
     {
         $this->opts = $opts;
         
+          
+        if(!empty($this->opts['list'])){
+            $this->listTypes();
+        }
+        
         if(empty($this->opts['group'])){
             $this->jerr('Missing group - try add [-t {group name}]');
         }