summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-27 21:18:20 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-27 21:18:20 +0000
commit6f41d692fd407cf63bf3c4f560129cddca054ac9 (patch)
treef01ad46276283cfa9c4bf091697561ee5e517aca /modules/php
parent0963bac7601533a5b8af4ecc61567a5e673f4aa2 (diff)
downloadbrdo-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.install1
-rw-r--r--modules/php/php.module2
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>';