From c83d65a776fdbe85a0aa0adbcae75e8c71d93e92 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 10 Feb 2008 19:57:20 +0000 Subject: [PATCH] - Patch #215958 by pwolanin: fixed broken link in documentation. --- modules/php/php.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/php/php.module b/modules/php/php.module index cfd0926ff669..c3f1d8ff304b 100644 --- a/modules/php/php.module +++ b/modules/php/php.module @@ -38,7 +38,7 @@ function php_filter_tips($delta, $format, $long = false) { $output .= '<ul><li>'. t('Remember to double-check each line for syntax and logic errors <strong>before</strong> saving.') .'</li>'; $output .= '<li>'. t('Statements must be correctly terminated with semicolons.') .'</li>'; $output .= '<li>'. t('Global variables used within your PHP code retain their values after your script executes.') .'</li>'; - $output .= '<li>'. t('<code>register_globals</code> is <strong>turned off</strong>. If you need to use forms, understand and use the functions in <a href="@formapi">the Drupal Form API</a>.', array('@formapi' => url('http://api.drupal.org/api/group/form/6'))) .'</li>'; + $output .= '<li>'. t('<code>register_globals</code> is <strong>turned off</strong>. If you need to use forms, understand and use the functions in <a href="@formapi">the Drupal Form API</a>.', array('@formapi' => url('http://api.drupal.org/api/group/form_api/7'))) .'</li>'; $output .= '<li>'. t('Use a <code>print</code> or <code>return</code> statement in your code to output content.') .'</li>'; $output .= '<li>'. t('Develop and test your PHP code using a separate test script and sample database before deploying on a production site.') .'</li>'; $output .= '<li>'. t('Consider including your custom PHP code within a site-specific module or <code>template.php</code> file rather than embedding it directly into a post or block.') .'</li>'; -- GitLab