Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes error when explain is not available

  • Loading branch information...
commit 9c05ec20047de591d8c2051b60aeb484830ac902 1 parent 8d55e00
@themouette themouette authored
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;
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.