another fix

master
vbracco 2008-11-01 13:23:58 +00:00
parent 6236f57500
commit 7f28472b77
1 changed files with 11 additions and 9 deletions

View File

@ -18,6 +18,7 @@ class kodrs extends plugins {
function source_code_beautifier() { function source_code_beautifier() {
global $rows; global $rows;
if(count($rows)>0){
foreach($rows as $key=>$post){ foreach($rows as $key=>$post){
// Si no es tipo 'post' entonces no tiene 'Body' :) // Si no es tipo 'post' entonces no tiene 'Body' :)
if($post["postType"]=="post"){ if($post["postType"]=="post"){
@ -30,6 +31,7 @@ class kodrs extends plugins {
} }
} }
} }
}
static function replace_with_geshi($matches) { static function replace_with_geshi($matches) {
$lang = strtolower($matches[1]) ; $lang = strtolower($matches[1]) ;