joomla/joomla-cms — pull request #3150 by radiant-tech (2014-02-20 13:48:30+00:00)
Title: fix $originalOrders undefined var

As reported in Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33314

$originalOrders var is only set if Tags exist -- moved $originalOrders = array() to earlier in code where other fields are initialized.