General add-ons

 
 
Picture of Juan Leyva
Re: Internal mail plugin for Moodle 2, alpha version, testing required
Group DevelopersGroup Moodle HQGroup Particularly helpful Moodlers

Hola Ricardo,

puedes sustituir esto:

 

$messagesdata[0]=$DB->count_records_sql("SELECT COUNT('x')".$sql,$params);

por esto

list($sql, $order) = explode("ORDER BY", $sql);

$messagesdata[0]=$DB->count_records_sql("SELECT COUNT('x')".$sql,$params);

 

 

En el fichero block_jmail_mailbox.class.php

Y probar a ver si te funciona?

 
Average of ratings:Useful (1)
Picture of Ricardo Díaz
Re: Internal mail plugin for Moodle 2, alpha version, testing required
 

Hola Juan,

He aplicado el parche y funciona smile muchas gracias por tu tiempo.

 
Average of ratings: -