Fatal error in Mdl_custom_fields

Peace…

I upgraded to the version 1.5.4, getting Fatal error when try to access the client form or view client. as the error below

Fatal error: Cannot use for reading in /home/foxuser/public_html/invoices/application/modules/custom_fields/models/Mdl_custom_fields.php on line 257

Below how to fix it

From
$field->$field_id_fieldlabel = $custom_value->custom_values_value;
to
$field->field_id_fieldlabel = $custom_value->custom_values_value;

Best Regards

You are now the 6th person that posts this error. There is a search function at the rop right corner. USE IT!