aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-27 07:44:35 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-27 07:44:35 -0400
commitdbf78a975d2979ebeb50bd914b4ebc2c076ae09b (patch)
tree3cbb79756f0ec1d044d8c03595744f935cde4f8e
parent264d3643f2c76bedf875e3c586055d9f5ee14132 (diff)
downloadelgg-dbf78a975d2979ebeb50bd914b4ebc2c076ae09b.tar.gz
elgg-dbf78a975d2979ebeb50bd914b4ebc2c076ae09b.tar.bz2
Fixes #4339 for real this time - adds default for the subtype
-rw-r--r--views/default/river/elements/summary.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/river/elements/summary.php b/views/default/river/elements/summary.php
index 4402c6f65..416bc708b 100644
--- a/views/default/river/elements/summary.php
+++ b/views/default/river/elements/summary.php
@@ -41,12 +41,12 @@ if ($container instanceof ElggGroup) {
}
// check summary translation keys.
-// will use the $type:$subtype if that's defined, otherwise just uses $type
+// will use the $type:$subtype if that's defined, otherwise just uses $type:default
$key = "river:$action:$type:$subtype";
$summary = elgg_echo($key, array($subject_link, $object_link));
if ($summary == $key) {
- $key = "river:$action:$type";
+ $key = "river:$action:$type:default";
$summary = elgg_echo($key, array($subject_link, $object_link));
}