Patch for recently_updated plugin

Patch for multilingual modules
Locked
alby

Patch for recently_updated plugin

Post by alby »

Apply this patch or add +rows
--- function.recently_updated.php       Tue May 20 22:09:35 2008
+++ function.recently_updated.php.mle   Fri Mar 20 10:55:03 2009
@@ -69,6 +69,11 @@
}
while ($dbresult && $updated_page = $dbresult->FetchRow())
{
+//START MLE
+global $mleblock;
+if(isset($updated_page['content_name'.$mleblock])) $updated_page['content_name'] = $updated_page['content_name'.$mleblock];
+if(! empty($updated_page['titleattribute'.$mleblock])) $updated_page['titleattribute'] = $updated_page['titleattribute'.$mleblock];
+//END MLE

     $curnode =& $hm->getNodeById($updated_page['content_id']);
     $curcontent =& $curnode->GetContent();
     $output .= '';
Alby
alby

Re: Patch for recently_updated plugin

Post by alby »

This is in 1.5.4 release

Alby
Locked

Return to “Modules/Addon patchs”