From 6f41d692fd407cf63bf3c4f560129cddca054ac9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 27 Aug 2009 21:18:20 +0000 Subject: - Patch #559658 by sun, dropcube: store filter settings per format, general API clean-up and documentation improvements. --- modules/php/php.install | 1 + modules/php/php.module | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/php') 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 = '

' . t('Using custom PHP code') . '

'; -- cgit v1.2.3