File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -888,6 +888,7 @@ protected function showSearchBar() : void {
888888 protected function showMyLastForms () : void {
889889 $ limit = 5 ;
890890 $ formanswerUrl = PluginFormcreatorFormAnswer::getSearchURL ();
891+ $ rawKeyBase = 'ITEM_ ' . PluginFormcreatorFormAnswer::class;
891892 echo '<div id="plugin_formcreator_last_req_forms" class="card"> ' ;
892893 echo '<div class="card-title"> ' .sprintf (__ ('My %1$d last forms (requester) ' , 'formcreator ' ), $ limit ).'</div> ' ;
893894 $ criteria = [
@@ -921,7 +922,6 @@ protected function showMyLastForms() : void {
921922 echo '<div class="card-body"> ' ;
922923 echo '<ul class="list-group"> ' ;
923924 foreach ($ search ['data ' ]['rows ' ] as $ formAnswer ) {
924- $ rawKeyBase = 'ITEM_ ' . PluginFormcreatorFormAnswer::class;
925925 switch ($ formAnswer ['raw ' ]["$ {rawKeyBase}_8 " ]) {
926926 case PluginFormcreatorFormAnswer::STATUS_WAITING :
927927 $ status = CommonITILObject::WAITING ;
You can’t perform that action at this time.
0 commit comments