diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-27 21:18:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-27 21:18:20 +0000 |
commit | 6f41d692fd407cf63bf3c4f560129cddca054ac9 (patch) | |
tree | f01ad46276283cfa9c4bf091697561ee5e517aca /modules/php | |
parent | 0963bac7601533a5b8af4ecc61567a5e673f4aa2 (diff) | |
download | brdo-6f41d692fd407cf63bf3c4f560129cddca054ac9.tar.gz brdo-6f41d692fd407cf63bf3c4f560129cddca054ac9.tar.bz2 |
- Patch #559658 by sun, dropcube: store filter settings per format, general API clean-up and documentation improvements.
Diffstat (limited to 'modules/php')
-rw-r--r-- | modules/php/php.install | 1 | ||||
-rw-r--r-- | modules/php/php.module | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/php/php.install b/modules/php/php.install index d378c1722..a94882c74 100644 --- a/modules/php/php.install +++ b/modules/php/php.install @@ -31,6 +31,7 @@ function php_install() { 'module' => 'php', 'name' => 'php_code', 'weight' => 0, + 'status' => 1, )) ->execute(); diff --git a/modules/php/php.module b/modules/php/php.module index 4dd23f5ea..f9b7d5bcf 100644 --- a/modules/php/php.module +++ b/modules/php/php.module @@ -79,7 +79,7 @@ function php_eval($code) { /** * Tips callback for php filter. */ -function _php_filter_tips($format, $long = FALSE) { +function _php_filter_tips($filter, $format, $long = FALSE) { global $base_url; if ($long) { $output = '<h4>' . t('Using custom PHP code') . '</h4>'; |