Author Topic: Knowledge manage  (Read 194 times)

dension

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • SilverHost - Nemzetközi hoszting
    • View Profile
    • SilverHost
Knowledge manage
« on: June 18, 2021, 02:25:43 PM »
BillingFox version: 9.97

When you want to manage knowledge item description, the system does not save into to database.

Temporarly solution:

Open to edit: /content/client_areas/BF_default/admin_actions/BF_manage_knowledgebase_article.php

Find:
Code: [Select]
<body id="page-top">
Under that, insert the following code:
Code: [Select]
<?php 
if(isset($_GET['set_desc'])) {
if($_GET['set_desc'] == '1') {
if(isset($_GET['kb_article_id'])) {
$kb_article_id $_GET['kb_article_id'];
$manage_desc $_POST['manage_desc'];
if ($manage_desc && $kb_article_id) {
if(strlen($manage_desc) > 15) {
$queryunphn "UPDATE `BF_knowledgebase` SET `kb_text`='$manage_desc' WHERE `kb_article_id`='$kb_article_id' LIMIT 1";
mysqli_query($db$queryunphn);
unset($errors);
$successesdesc htmlentities($_LANG['client_area']['set_desc_kb_article']);
array_push($successes$successesdesc '.');
} else {
unset($errors);
$errors[] = htmlentities($_LANG['client_area']['short_desc_kb_article']);
}
}
}
}
}
?>


That's all. I hope this will be fixed in the new version.
Sose volt még ilyen egyszerű tárhelyet bérelni.

Administrator

  • Administrator
  • Newbie
  • *****
  • Posts: 9
  • Karma: +0/-0
  • The administrator of BillingFox.net.
    • View Profile
    • BillingFox
Re: Knowledge manage
« Reply #1 on: June 19, 2021, 11:49:08 AM »
Hello Dension.
Thank you for your bug report, we will forward this to our development team so we can solve this problem.
We appreciate your contribution.

Stay safe!

Administrator

  • Administrator
  • Newbie
  • *****
  • Posts: 9
  • Karma: +0/-0
  • The administrator of BillingFox.net.
    • View Profile
    • BillingFox
Re: Knowledge manage
« Reply #2 on: July 13, 2021, 10:47:03 AM »
It should be fixed now in the beta version.