pyrocms/pyrocms — pull request #1649 by chrisfranson (2012-07-29 14:59:33+00:00)
Title: 2.1/develop

#### Problems:
##### Pages
Upon saving a page after assigning meta keywords, the keywords hash appears in the **Meta keywords** field instead of the actual keywords.
##### Blog
Upon saving a post after assigning keywords, the old rows are left in the **keywords_applied** table.

#### Solutions:
##### Pages and Blog Posts
- If the page/post is being updated and it had keywords specified before this update, make sure that the old keywords hash is specified when calling Keywords::process().
- In Keywords::process(), check for the old hash before returning the empty string if no keywords are specified. This way, the old entries in **keywords_applied** will be removed.

##### Pages
- When editing a page that has a **meta_keywords** hash specified, convert the hash to the comma-separated list of keywords using Keywords::get_string()