Skip to content
This repository

fixes error when explain is not available #137

Merged
merged 1 commit into from almost 2 years ago

2 participants

Julien MUETTON William Durand
Julien MUETTON

error is displayed if explain is not available for current engine

William Durand willdurand merged commit c5adead into from April 27, 2012
William Durand willdurand closed this April 27, 2012
William Durand
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 27, 2012
Julien MUETTON fixes error when explain is not available 9c05ec2
This page is out of date. Refresh to see the latest.
1  modules/sfPropelORMExplain/actions/actions.class.php
@@ -19,6 +19,7 @@ public function executeIndex(sfWebRequest $request)
19 19
         $this->results = $stmt->fetchAll(\PDO::FETCH_ASSOC);
20 20
       } catch (Exception $e) {
21 21
         $this->getResponse()->setContent('<div class="error">This query cannot be explained.</div>');
  22
+        return sfView::NONE;
22 23
       }
23 24
   }
24 25
 }
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.