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.
Not a member yet? Click here to register.
Forgot Password?

classes/PHPFusion/Locale.inc

Asked Modified Viewed 1,100 times
J
J_K_NIELSEN
J
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
asked
Member

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
0 replies

3 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

J
J_K_NIELSEN
J
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
answered
Member

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
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

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

As i said / and | is not the same character.
0 replies

Category Forum

Locales Forum - 9

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

J
J
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet