From 5d84485001ace75c49cdc295b4ed3540db83e988 Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sun, 20 Jul 2008 01:57:02 -0400 Subject: First cut at hastags support. darcs-hash:20080720055702-533db-193ed842b0d0a952bef71a3c5287213ada0ef15c.gz --- actions/newnotice.php | 3 ++- actions/postnotice.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'actions') diff --git a/actions/newnotice.php b/actions/newnotice.php index 711b77e0a..5f6a22484 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -71,7 +71,8 @@ class NewnoticeAction extends Action { return; } - common_save_replies($notice); + common_save_replies($notice); + $notice->saveTags(); common_broadcast_notice($notice); $returnto = $this->trimmed('returnto'); diff --git a/actions/postnotice.php b/actions/postnotice.php index ab12277bb..b08f27ac4 100644 --- a/actions/postnotice.php +++ b/actions/postnotice.php @@ -89,7 +89,8 @@ class PostnoticeAction extends Action { common_server_error(_('Error inserting notice'), 500); return false; } - common_save_replies($notice); + common_save_replies($notice); + $notice->saveTags(); common_broadcast_notice($notice, true); } return true; -- cgit v1.2.3-54-g00ecf