fix #38
This commit is contained in:
parent
cf0eecefb4
commit
d589909e87
3 changed files with 4 additions and 6 deletions
|
|
@ -1311,7 +1311,7 @@ abstract class Item extends cItemBaseAbstract {
|
|||
* List of funcion names of the filtersused when data is retrieved from the db
|
||||
* @var array
|
||||
*/
|
||||
protected $_arrOutFilters = array('stripslashes', 'htmldecode','urldecode', 'utf8_encode');
|
||||
protected $_arrOutFilters = array('stripslashes', 'htmldecode','urldecode');
|
||||
|
||||
/**
|
||||
* Class name of meta object
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ $mylink = new cHTMLLink;
|
|||
|
||||
while ($translation = $translations->next()) {
|
||||
|
||||
$string = utf8_encode($translation->get("original"));
|
||||
$tstring = utf8_encode($translation->get("translation"));
|
||||
$string = $translation->get("original");
|
||||
$tstring = $translation->get("translation");
|
||||
|
||||
$link->setCustom("idmod", $idmod);
|
||||
$link->setCustom("idmodtranslation", $translation->get("idmodtranslation"));
|
||||
|
|
|
|||
|
|
@ -148,9 +148,7 @@ ini_set("log_errors", true);
|
|||
ini_set("error_log", $cfg['path']['conlite_logs'] . "errorlog.txt");
|
||||
|
||||
/**
|
||||
* Report all errors except warnings
|
||||
* @todo change first if to use a local config var for servername
|
||||
*
|
||||
* Report all errors except warnings
|
||||
**/
|
||||
if ($cfg["develop"]["show_errors"]) {
|
||||
error_reporting(E_ALL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue