dev warning only visible in english.php dev warning only visible in english.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

dev warning only visible in english.php

Started by Casper, January 08, 2005, 06:14:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Casper

The dev version warning is just showing as an empty cell in languages other than english.php 
Is this a langfallback problem?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

Quote from: Casper on January 08, 2005, 06:14:00 PMIs this a langfallback problem?
Yes, it is. I fixed this by adding$lang_version_alert_en = cpg_get_default_lang_var('lang_version_alert','english');
$lang_version_alert = array_merge($lang_version_alert_en, $lang_version_alert);
to include/langfallback.inc.php. Please confirm and mark thread as fixed if applicable.

Joachim

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here