aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/plugin/elements/dependencies.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/plugin/elements/dependencies.php')
-rw-r--r--views/default/object/plugin/elements/dependencies.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/object/plugin/elements/dependencies.php b/views/default/object/plugin/elements/dependencies.php
index 11a441a4a..5f4aa4392 100644
--- a/views/default/object/plugin/elements/dependencies.php
+++ b/views/default/object/plugin/elements/dependencies.php
@@ -9,7 +9,7 @@
*/
$plugin = elgg_extract('plugin', $vars, false);
-$deps = $plugin->package->checkDependencies(true);
+$deps = $plugin->getPackage()->checkDependencies(true);
$columns = array('type', 'name', 'expected_value', 'local_value', 'comment');
@@ -20,7 +20,7 @@ foreach ($columns as $column) {
echo "<th class=\"pas\">$column</th>";
}
-echo '<tr/>';
+echo '</tr>';
$row = 'odd';
foreach ($deps as $dep) {
@@ -28,9 +28,9 @@ foreach ($deps as $dep) {
$type = $dep['type'];
if ($dep['status']) {
- $class = "elgg-state-success elgg-dependency-$type";
+ $class = "elgg-state-success elgg-dependency elgg-dependency-$type";
} else {
- $class = "elgg-state-error elgg-dependency-$type";
+ $class = "elgg-state-error elgg-dependency elgg-dependency-$type";
}
echo "<tr class=\"$row\">";