Skip to content

Commit

Permalink
shortener fix
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Sep 3, 2009
1 parent 1954881 commit eeb0979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shortener/models/Shortener.php
Expand Up @@ -351,7 +351,7 @@ function do_shorten() {

function do_shorten_redirect(&$model,&$model) {
global $request;
if (!($request->resource == 'settings'))
if (!($model->table == 'settings'))
return;
$perma = parse_url( $_SERVER['REQUEST_URI'] );
$_PERMA = explode( "/", $perma['path'] );
Expand Down

0 comments on commit eeb0979

Please sign in to comment.