From d4998e37d859e4702407b9a85af6a8ac2fabe686 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 29 Jan 2010 14:25:57 -0800 Subject: Don't forget to flush the relative_url_cache when updating the slug. --- modules/gallery/helpers/gallery_installer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gallery/helpers') diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php index 8227fdc9..d2378d64 100644 --- a/modules/gallery/helpers/gallery_installer.php +++ b/modules/gallery/helpers/gallery_installer.php @@ -479,6 +479,7 @@ class gallery_installer { db::build() ->update("items") ->set("slug", $new_slug) + ->set("relative_url_cache", null) ->where("id", "=", $row->id) ->execute(); } -- cgit v1.2.3