Skip to content

Commit

Permalink
Fix version string
Browse files Browse the repository at this point in the history
  • Loading branch information
bcosca committed Jan 8, 2014
1 parent 034b869 commit 4c00aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Base extends Prefab {
//@{ Framework details
const
PACKAGE='Fat-Free Framework',
VERSION='3.2.2-Dev';
VERSION='3.2.1-Release';
//@}

//@{ HTTP status codes (RFC 2616)
Expand Down Expand Up @@ -1249,7 +1249,7 @@ function run() {
unset($args[$key]);
if (is_string($handler))
// Replace route pattern tokens in handler if any
$handler=preg_replace_callback('/@(\w+\b)/',
$handler=preg_replace_callback('/\{?\h*@(\w+\b)\h*\}?/',
function($id) use($args) {
return isset($args[$id[1]])?$args[$id[1]]:$id[0];
},
Expand Down

0 comments on commit 4c00aa8

Please sign in to comment.