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 #24162 from colemanw/savedSearchLabel
[civicrm-core.git]
/
CRM
/
Core
/
Page
/
Redirect.php
diff --git
a/CRM/Core/Page/Redirect.php
b/CRM/Core/Page/Redirect.php
index 90be62a20bc28528352935618d5850b7d299e0e2..4f0b83dde4b60267b614c0890064518c8b989ea6 100644
(file)
--- a/
CRM/Core/Page/Redirect.php
+++ b/
CRM/Core/Page/Redirect.php
@@
-3,13
+3,13
@@
/**
* Placeholder page which generates a redirect
*
/**
* Placeholder page which generates a redirect
*
- *
@code
+ *
```
* <item>
* <path>civicrm/admin/options/case_type</path>
* <page_callback>CRM_Core_Page_Redirect</page_callback>
* <page_arguments>url=civicrm/foo/bar?whiz=bang&passthru=%%passthru%%</page_arguments>
* </item>
* <item>
* <path>civicrm/admin/options/case_type</path>
* <page_callback>CRM_Core_Page_Redirect</page_callback>
* <page_arguments>url=civicrm/foo/bar?whiz=bang&passthru=%%passthru%%</page_arguments>
* </item>
- *
@endcoe
+ *
```
*/
class CRM_Core_Page_Redirect extends CRM_Core_Page {
*/
class CRM_Core_Page_Redirect extends CRM_Core_Page {
@@
-38,7
+38,7
@@
class CRM_Core_Page_Redirect extends CRM_Core_Page {
*/
public static function createUrl($requestPath, $requestArgs, $pageArgs, $absolute) {
if (empty($pageArgs['url'])) {
*/
public static function createUrl($requestPath, $requestArgs, $pageArgs, $absolute) {
if (empty($pageArgs['url'])) {
- CRM_Core_Error::
fatal('This page is configured as a redirect, but it does not have a target.'
);
+ CRM_Core_Error::
statusBounce(ts('This page is configured as a redirect, but it does not have a target.')
);
}
$vars = [];
}
$vars = [];