From fecb03f44a3a2c3dace7d17eebebbb787a9042e3 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 01 May 2006 12:26:10 -0400
Subject: [PATCH] Check for empty mbox value in session
---
program/lib/utf8.class.php | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/program/lib/utf8.class.php b/program/lib/utf8.class.php
index adcf31b..c0bd0a7 100644
--- a/program/lib/utf8.class.php
+++ b/program/lib/utf8.class.php
@@ -58,10 +58,10 @@
//Class definition
Class utf8{
- var $charset = CP1250;
+ var $charset = "ISO-8859-1";
var $ascMap = array();
var $utfMap = array();
-
+
// made PHP5 capable by RoundCube
function __construct($charset="ISO-8859-1"){
$this->loadCharset($charset);
@@ -75,7 +75,7 @@
//Load charset
function loadCharset($charset){
global $utf8_maps;
-
+
if (!is_file($utf8_maps[$charset]))
{
$this->onError(ERR_OPEN_MAP_FILE, "Failed to open map file for $charset");
@@ -170,4 +170,5 @@
}
}
-?>
+
+?>
\ No newline at end of file
--
Gitblit v1.9.1