Skip to content

Commit

Permalink
Fix #3; call-time pass by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nitriques committed Nov 21, 2012
1 parent d72bbb6 commit 07cebb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.driver.php
Expand Up @@ -71,7 +71,7 @@ public function appendElement($context) {

// if we are not in a static section
// or if the limit is more than one (there is a list we can return to)
if (!$this->isStaticSection(false, &$static_limit) || $static_limit > 1) {
if (!$this->isStaticSection(false, $static_limit) || $static_limit > 1) {
// add return button in wrapper
$button_return = $this->createButton('save-and-return', 'Save & return');
$hidden_return = $this->createHidden('save-and-return-h');
Expand Down

0 comments on commit 07cebb8

Please sign in to comment.