pyrocms/pyrocms — pull request #3092 by huglester (2013-11-13 14:43:25+00:00)
Title: Fixed bug in set_metadata(), with type 'link'

Without this, you would not be able to override `cannonical` like this:

->set_metadata('canonical', $data['item']['url'][CURRENT_LANGUAGE], 'link', 'header', true);

it was setting invalid $keys, with would just produce double canonical links in the header