<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
/**
* Function to build the form
*
- * @return None
+ * @return void
* @access public
*/
public function buildQuickForm() {
$element->freeze();
}
}
- if (CRM_Utils_Array::value('is_reserved', $this->_values)) {
+ if (!empty($this->_values['is_reserved'])) {
$this->freeze(array('name', 'is_active'));
}
}
*
* @access public
*
- * @return None
+ * @return void
*/
public function postProcess() {
CRM_Utils_System::flushCache();