Update edit.php

fixed validation message display
http://issues.joomla.org/tracker/joomla-cms/4735