Package: php-gettext
Version: 1.0.10-1
Severity: minor
Using php-gettext in E_STRICT mode displays warning:
Strict Standards: Creating default object from empty value in
/usr/share/php/php-gettext/gettext.inc on line 262
Adding these 4 lines before line 262 solves the problem:
if (!array_key_exists($domain, $text_domains)) {
// Initialize an empty domain object.
$text_domains[$domain] = new domain();
}
Pierre
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages php-gettext depends on:
ii php5 5.3.6-13 server-side, HTML-embedded scripti
ii php5-cli 5.3.6-13 command-line interpreter for the p
php-gettext recommends no packages.
php-gettext suggests no packages.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]