diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-08 20:18:37 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-08 20:18:37 +0000 |
commit | 7b2ca7ed8215e3b32a004be3d870229aeebc738d (patch) | |
tree | c9f12e043cca54f8bbd25f62d4779920b194f0d2 /mod/embed/views/default | |
parent | 0677e877ec4a925a26322e38bba170afe4868421 (diff) | |
download | elgg-7b2ca7ed8215e3b32a004be3d870229aeebc738d.tar.gz elgg-7b2ca7ed8215e3b32a004be3d870229aeebc738d.tar.bz2 |
removing debug output.
git-svn-id: http://code.elgg.org/elgg/trunk@6403 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r-- | mod/embed/views/default/embed/embed.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/embed/views/default/embed/embed.php b/mod/embed/views/default/embed/embed.php index ee2bde006..b071eef0f 100644 --- a/mod/embed/views/default/embed/embed.php +++ b/mod/embed/views/default/embed/embed.php @@ -75,11 +75,11 @@ if (!$sections) { } elseif ($embed_info = trigger_plugin_hook('embed_get_items', $active_section, $params, array('items' => array(), 'count' => 0))) { // check if we have an override for this section type. $view = "embed/$active_section/item/$layout"; -var_dump($view); + if (!elgg_view_exists($view)) { $view = "embed/item/$layout"; } -var_dump($view); + // pull out some common tests // embed requires ECML, but until we have plugin deps working // we need to explicitly check and use a fallback. @@ -144,4 +144,4 @@ $(document).ready(function() { $('.pagination_previous').click(elggPaginationClick); }); -</script>
\ No newline at end of file +</script> |