From 30e5fe8d61cd12046b075989ad6ae94b568c7d19 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Mon, 23 Dec 2013 11:09:19 -0400 Subject: [PATCH] BUG 13773 Warning en el listado de Plugins SOLVED - Plugin variable "aWorkspaces" can be different to array - Validate variable "aWorkspaces" when is different to array --- workflow/engine/methods/setup/pluginsList.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workflow/engine/methods/setup/pluginsList.php b/workflow/engine/methods/setup/pluginsList.php index d86e0eaf3..663256c06 100755 --- a/workflow/engine/methods/setup/pluginsList.php +++ b/workflow/engine/methods/setup/pluginsList.php @@ -58,6 +58,9 @@ if ($handle = opendir( PATH_PLUGINS )) { $status_label = $pluginDetail->enabled ? G::LoadTranslation( 'ID_ENABLED' ) : G::LoadTranslation( 'ID_DISABLED' ); $status = $pluginDetail->enabled ? 1 : 0; if (isset( $pluginDetail->aWorkspaces )) { + if (!is_array($pluginDetail->aWorkspaces)) { + $pluginDetail->aWorkspaces = array(); + } if (! in_array( SYS_SYS, $pluginDetail->aWorkspaces )) continue; }