another fix
parent
6236f57500
commit
7f28472b77
|
|
@ -18,6 +18,7 @@ class kodrs extends plugins {
|
|||
|
||||
function source_code_beautifier() {
|
||||
global $rows;
|
||||
if(count($rows)>0){
|
||||
foreach($rows as $key=>$post){
|
||||
// Si no es tipo 'post' entonces no tiene 'Body' :)
|
||||
if($post["postType"]=="post"){
|
||||
|
|
@ -30,6 +31,7 @@ class kodrs extends plugins {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static function replace_with_geshi($matches) {
|
||||
$lang = strtolower($matches[1]) ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue