Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 0.8.5 (Omnipotent Octagon Strikes Back)
-
None
-
dev 6227afab96f71e5830d8c8cdd76bb0c2f28e3b53 w/MySql
Description
Approved a petition and got error page. Snip follows. Basically looks like there is no check for $permitted == null in CoIdentifierAssignment.php.
----- response -------
Notice (8): Array to string conversion [APP/Model/CoIdentifierAssignment.php, line 460]
Code Context
// Do the actual parameter replacement, blocking out characters that aren't permitted
$charregex = '/'. _txt('en.chars.permitted.re.not', null, $permitted) . '/';
$format = '(#)'
$name = array(
'id' => '102',
'honorific' => '',
'given' => 'Tom',
'middle' => '',
'family' => 'Turtle',
'suffix' => '',
'type' => 'O',
'language' => 'en',
'co_person_id' => '58',
'org_identity_id' => null,
'primary_name' => true,
'created' => '2014-07-02 00:25:11',
'modified' => '2014-07-02 00:25:11'
)
$permitted = null
$base = ''
$i = (int) 1
$width = ''