Skip to content
Browse files

fixes error when explain is not available

  • Loading branch information...
1 parent 8d55e00 commit 9c05ec20047de591d8c2051b60aeb484830ac902 @themouette themouette committed Apr 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/sfPropelORMExplain/actions/actions.class.php
View
1 modules/sfPropelORMExplain/actions/actions.class.php
@@ -19,6 +19,7 @@ public function executeIndex(sfWebRequest $request)
$this->results = $stmt->fetchAll(\PDO::FETCH_ASSOC);
} catch (Exception $e) {
$this->getResponse()->setContent('<div class="error">This query cannot be explained.</div>');
+ return sfView::NONE;
}
}
}

0 comments on commit 9c05ec2

Please sign in to comment.
Something went wrong with that request. Please try again.