mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 03:09:08 -04:00
Use abs_url() inside url::redirect() calls so that we don't just wind
up tacking onto the base url.
This commit is contained in:
@@ -31,6 +31,6 @@ class Notification_Controller extends Controller {
|
||||
notification::add_watch($item);
|
||||
message::success(sprintf(t("You are now watching %s"), html::purify($item->title)));
|
||||
}
|
||||
url::redirect($item->url(array(), true));
|
||||
url::redirect($item->abs_url());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user