Opened 15 years ago

Last modified 7 years ago

#635 new enhancement

use of deprecated function "split" in file "http/classes/class_locale.php"

Reported by: marcjansen Owned by: cbaudson
Priority: minor Milestone:
Component: i18n Version: 2.7 rc1
Keywords: Cc:

Description

In file "http/classes/class_locale.php" we use "split", which is deprecated as of PHP 5.3 [1]. The patch below replaces "split" with "explode", which should be what is meant there (we didn't split by a complicated regular expression but a simple string). If we decide on leaving "split" in there, some CMS embedding Mapbender will display ugly warnings (Typo3 in my particular case).

The attached patch provides the minor replacement.

[1] http://php.net/manual/en/function.split.php

Attachments (1)

635.patch (639 bytes ) - added by marcjansen 15 years ago.

Download all attachments as: .zip

Change History (2)

by marcjansen, 15 years ago

Attachment: 635.patch added

comment:1 by astrid_emde, 7 years ago

Milestone: 3.0 release

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.