projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-04-04-00-08-28
[civicrm-core.git]
/
CRM
/
Friend
/
Form.php
diff --git
a/CRM/Friend/Form.php
b/CRM/Friend/Form.php
index 27b3ab7a50bb9e6706553893c361f04aef21f3f7..2158783daf95ffe9adf05526b89557e3ce16914c 100644
(file)
--- a/
CRM/Friend/Form.php
+++ b/
CRM/Friend/Form.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-104,7
+104,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
$params, $values, array('is_tellfriend_enabled', 'tellfriend_limit')
);
$params, $values, array('is_tellfriend_enabled', 'tellfriend_limit')
);
- if (
!CRM_Utils_Array::value('is_tellfriend_enabled', $values
)) {
+ if (
empty($values['is_tellfriend_enabled']
)) {
CRM_Core_Error::fatal(ts('Tell Friend is disable for this Personal Campaign Page'));
}
CRM_Core_Error::fatal(ts('Tell Friend is disable for this Personal Campaign Page'));
}
@@
-150,7
+150,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
*
* @access public
*
*
* @access public
*
- * @return
None
+ * @return
void
*/
public function setDefaultValues() {
$defaults = array();
*/
public function setDefaultValues() {
$defaults = array();
@@
-177,7
+177,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
/**
* Function to build the form
*
/**
* Function to build the form
*
- * @return
None
+ * @return
void
* @access public
*/
public function buildQuickForm() {
* @access public
*/
public function buildQuickForm() {
@@
-272,7
+272,7
@@
class CRM_Friend_Form extends CRM_Core_Form {
*
* @access public
*
*
* @access public
*
- * @return
None
+ * @return
void
*/
public function postProcess() {
// get the submitted form values.
*/
public function postProcess() {
// get the submitted form values.