aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-10-22 20:26:07 -0400
committerBrett Profitt <brett.profitt@gmail.com>2012-10-22 20:26:07 -0400
commit20ea048b510bfb2ae7eb5e26c8a07205887406e2 (patch)
treee370c63029504a8960b8838283f156acd5ba8c47 /views/default/object
parente6ab6c957aa6b2382abdfa2c7c8c60623a4e17f9 (diff)
downloadelgg-20ea048b510bfb2ae7eb5e26c8a07205887406e2.tar.gz
elgg-20ea048b510bfb2ae7eb5e26c8a07205887406e2.tar.bz2
Fixes #3465. Unmet suggestions are marked as warnings instead of errors in plugins.
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/plugin/elements/dependencies.php2
1 files changed, 2 insertions, 0 deletions
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";
}