diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-24 21:02:24 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-24 21:02:24 +0000 |
commit | 6383dcc7253ecad5ca56e46724439cd23444fba1 (patch) | |
tree | dd6b7591ff78c2f6fd59b5117ab7126de5b90ddc | |
parent | 5dcacebf263096cc79f4a2ca05ad39a4d62888ae (diff) | |
download | brdo-6383dcc7253ecad5ca56e46724439cd23444fba1.tar.gz brdo-6383dcc7253ecad5ca56e46724439cd23444fba1.tar.bz2 |
#194994 by gpk: the PHP format was moved to php/0 instead of filter/2 and this was not updated in the node teaser building code
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 967c0a5c8..909d26773 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -273,7 +273,7 @@ function node_teaser($body, $format = NULL, $size = NULL) { // parse errors. if (isset($format)) { $filters = filter_list_format($format); - if (isset($filters['filter/1']) && strpos($body, '<?') !== FALSE) { + if (isset($filters['php/0']) && strpos($body, '<?') !== FALSE) { return $body; } } |