*
* @return value
*/
- public static function getValue($field, &$values, $default = NULL) {
+ public static function getValue($field, $values, $default = NULL) {
if (array_key_exists($field, self::$optionValueFields)) {
switch (self::$optionValueFields[$field]['type']) {
case CRM_Utils_Type::T_INT:
* Id of the database record (null = new record).
* @throws CRM_Core_Exception
*/
- public function savePdfFormat(&$values, $id = NULL) {
+ public function savePdfFormat($values, $id = NULL) {
// get the Option Group ID for PDF Page Formats (create one if it doesn't exist)
$group_id = self::_getGid();