Can you restore this change please?  It was part of [this commit](https://github.com/joomla/joomla-cms/commit/cf2b5ef09fde840a18364e0f6561761a1d4fcace) to fix another issue.