another fix
parent
6236f57500
commit
7f28472b77
|
|
@ -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]) ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue