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?

faq error

Asked Modified Viewed 1,677 times
G
GameAction
G
  • Member, joined since
  • Contributed 50 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Member

there's a little bug in the faq administration section.
i'm using ver 6.00.305 and if i try to delete a faq category and inside category there's a faq it never show the error message. same if i correctly delete firts the inside faq and then faq category; it doesn't show FAQ category deleted....

so the problem is this: look in faq.php under administration direcotry.
find this:
if (isset($status)) {
   if ($status == "delcn") {
      $title = $locale['400'];
      $message = "<b>".$locale['404']."</b><br>\n".$locale['405'];
   } elseif ($status == "delcy") {
      $title = $locale['400'];
      $message = "<b>".$locale['401']."</b>";
   }


and change with working code:
if (isset($status)) {
   if ($status == "deln") {
      $title = $locale['400'];
      $message = "<b>".$locale['404']."</b><br>\n".$locale['405'];
   } elseif ($status == "dely") {
      $title = $locale['400'];
      $message = "<b>".$locale['401']."</b>";
   }


now it will showup error and succefull faq deletion :D

@Digi: it need to be corrected also on cvs browser
Edited by GameAction on 25-03-2006 17:30,
0 replies
There are no post found.

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet