Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Classes/PHPFusion/Locale.inc

hey i get a bug it is one that can be fixed
and what is needed


Locale.inc
/php/administration/panels.php?aid=b4941fbe5df5425e **
Linje: 132
lige nu

Vigtighed : Der blev genereret advarsler af Run-time
Undefined offset: 1



122 }
123
124 // Format the result
125 switch ($options['language']) {
126 case 'English':
127 case 'Danish':
128 case 'German':
129 case 'Romanian':
130 $form = $count == 1 ? 0 : 1;
131 $words_array = explode("|", $words);
132 $result = $words_array[$form];

Line 132 -- 2 minutter siden

Undefined offset: 1

133 break;
134 case 'Czech':
135 case 'Slovak':
136 case 'Russian':
137 case 'Ukranian':
138 $fcount = $count % 100;
139 $a = $fcount % 10;
140 $b = floor($fcount / 10);
141 $form = 2;
142
143


mvh J_K_NIELSEN
hi just tried what you wrote but it gives the same error

what am i doing wrong since it keeps coming and going

MVH J_K_NIELSEN
Fixed https://github.com/php-fusion/locales/commit/10e952a9b237ab235a429da238f6a7511e282919

As i said / and | is not the same character.
Thread Information
Author
Posted In
Replies
4 posts
Views
87 times
Last Post
Last updated on 21 days ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: J_K_NIELSEN, RobiNN