Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rikh42/band-snb
base: 63014a8590
...
head fork: rikh42/band-snb
compare: 87559c6f54
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 1 addition and 1 deletion.
  1. +1 −1  routing/Route.php
View
2  routing/Route.php
@@ -316,7 +316,7 @@ public function generate($args=null)
$value = $this->cleanArgument($args[$var], $type);
} else {
// no argument provided
- if ($this->defaults[$var] != null) {
+ if (array_key_exists($var, $this->defaults)) {
// Use the default value
$value = $this->cleanArgument($this->defaults[$var], $type);
} else {

No commit comments for this range

Something went wrong with that request. Please try again.