From 20ea048b510bfb2ae7eb5e26c8a07205887406e2 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Mon, 22 Oct 2012 20:26:07 -0400 Subject: Fixes #3465. Unmet suggestions are marked as warnings instead of errors in plugins. --- views/default/object/plugin/elements/dependencies.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'views/default/object/plugin') diff --git a/views/default/object/plugin/elements/dependencies.php b/views/default/object/plugin/elements/dependencies.php index 8abd61692..d8daedd33 100644 --- a/views/default/object/plugin/elements/dependencies.php +++ b/views/default/object/plugin/elements/dependencies.php @@ -29,6 +29,8 @@ foreach ($deps as $dep) { if ($dep['status']) { $class = "elgg-state-success elgg-dependency elgg-dependency-$type"; + } elseif ($dep['type'] == 'suggests') { + $class = "elgg-state-warning elgg-dependency elgg-dependency-$type"; } else { $class = "elgg-state-error elgg-dependency elgg-dependency-$type"; } -- cgit v1.2.3