Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 3.2.1 (Contact)
-
Registry 3.2.1
Description
When a petition is denied, the text shown is:
"Petition is now read only (status=%1$s)"
(the "%" and "$" symbols are shown to the user).
We think that the petition status is not assigned in CoPetitionsController.php :
$this->Flash->set(_txt('er.pt.readonly'), array('key' => 'error'));
The string er.pt.readonly defined in lang.php has one parameter, but it's value is not passed in this _txt invocation.
A possible solution for displaying the correct message could be:
$this->Flash->set(_txt('er.pt.readonly',array(_txt('en.status.pt',null,$status))), array('key' => 'error'));
Regards
Emilio