From 7b2ca7ed8215e3b32a004be3d870229aeebc738d Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 8 Jun 2010 20:18:37 +0000 Subject: removing debug output. git-svn-id: http://code.elgg.org/elgg/trunk@6403 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/embed/views/default/embed/embed.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/embed/views') 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); }); - \ No newline at end of file + -- cgit v1.2.3