aboutsummaryrefslogtreecommitdiff
path: root/views/default/export/entity.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-06 12:09:30 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-06 12:09:30 +0000
commit76fa718b15d832d4635bbcd4328a4d38cc8105a1 (patch)
tree851a4606370b77ccbb6d84d7a36c55da94fc9e74 /views/default/export/entity.php
parent0b32313f26f9bb3a299a870ea1615d9c3ebefd26 (diff)
downloadelgg-76fa718b15d832d4635bbcd4328a4d38cc8105a1.tar.gz
elgg-76fa718b15d832d4635bbcd4328a4d38cc8105a1.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* More internationalisation git-svn-id: https://code.elgg.org/elgg/trunk@821 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/export/entity.php')
-rw-r--r--views/default/export/entity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/export/entity.php b/views/default/export/entity.php
index 1ddde4b78..43189d693 100644
--- a/views/default/export/entity.php
+++ b/views/default/export/entity.php
@@ -12,7 +12,7 @@
*/
$entity = $vars['entity'];
- if (!$entity) throw new InvalidParameterException("No entity found, it either doesn't exist or you don't have access to it.");
+ if (!$entity) throw new InvalidParameterException(elgg_echo('InvalidParameterException:NoEntityFound'));
$metadata = get_metadata_for_entity($entity->guid);
$annotations = get_annotations($entity->guid);