projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23981 from eileenmcnaughton/act_seq
[civicrm-core.git]
/
CRM
/
Contribute
/
Exception
/
InactiveContributionPageException.php
diff --git
a/CRM/Contribute/Exception/InactiveContributionPageException.php
b/CRM/Contribute/Exception/InactiveContributionPageException.php
index 742d1b0b374a580e1fac7920fb84204313c08d0c..828a5c5798e059351bd1dc217d71fc060d4cb57c 100644
(file)
--- a/
CRM/Contribute/Exception/InactiveContributionPageException.php
+++ b/
CRM/Contribute/Exception/InactiveContributionPageException.php
@@
-9,13
+9,23
@@
class CRM_Contribute_Exception_InactiveContributionPageException extends Exception {
private $id;
class CRM_Contribute_Exception_InactiveContributionPageException extends Exception {
private $id;
+ /**
+ * @param string $message
+ * @param int $id
+ */
public function __construct($message, $id) {
public function __construct($message, $id) {
- parent::__construct(
ts($message)
);
+ parent::__construct(
$message
);
$this->id = $id;
CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id);
}
$this->id = $id;
CRM_Core_Error::debug_log_message('inactive contribution page access attempted - page number ' . $id);
}
+ /**
+ * Get Contribution page ID.
+ *
+ * @return int
+ */
public function getID() {
return $this->id;
}
public function getID() {
return $this->id;
}
+
}
}