Skip to content
Browse files

Fixed form submission URL.

  • Loading branch information...
1 parent 748b8d1 commit 40423b9b98bc5664509c09e50dba81dec916641c @leth leth committed Feb 5, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 classes/controller/unittest.php
  2. +1 −1 views/unittest/results.php
View
1 classes/controller/unittest.php
@@ -227,6 +227,7 @@ public function action_run()
->set('group', Arr::get($this->get_groups_list($suite), reset($group), 'All groups'))
->set('groups', $this->get_groups_list($suite))
+ ->set('run_uri', $this->request->uri())
->set('report_uri', $this->report_uri.url::query())
// Whitelist related stuff
View
2 views/unittest/results.php
@@ -2,7 +2,7 @@
<div id="header" class="results">
<fieldset id="results-options">
<legend>Options</legend>
- <?php echo Form::open(NULL, array('method' => 'get'));?>
+ <?php echo Form::open($run_uri, array('method' => 'get'));?>
<?php echo Form::label('group', __('Switch Group')) ?>
<?php echo Form::select('group', $groups, $group, array('id' => 'group'));?>
<?php if ($xdebug_enabled): ?>

0 comments on commit 40423b9

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