Advanced search  

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]

Pages: [1]   Go Down

Author Topic: dev warning only visible in english.php  (Read 3906 times)

0 Members and 1 Guest are viewing this topic.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
dev warning only visible in english.php
« on: January 08, 2005, 06:14:00 pm »

The dev version warning is just showing as an empty cell in languages other than english.php 
Is this a langfallback problem?
« Last Edit: January 13, 2005, 10:47:54 am by Casper »
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: dev warning only visible in english.php
« Reply #1 on: January 13, 2005, 08:47:19 am »

Is this a langfallback problem?
Yes, it is. I fixed this by adding
Code: [Select]
$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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: dev warning only visible in english.php
« Reply #2 on: January 13, 2005, 10:47:40 am »

yes, works on my install, thanks.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 18 queries.