Commit d6b6a091 authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Fix feature ID condition

parent ca6e427e
......@@ -844,7 +844,7 @@ class Features
include_once(SERVER_ROOT."/../classes/keyword.php");
$k = new Keyword();
$krow = $k->KeywordGet($id_keyword);
$this->info = array('keyword'=>$krow['keyword']);
$this->info = array('keyword'=>$krow['keyword'],'description'=>$krow['description']);
}
break;
case "25":
......
......@@ -126,6 +126,9 @@ class PhPeaceUpdates
{
switch($version_new)
{
case "296":
$this->UpdateDB("267");
break;
case "295":
$this->UpdateDB("266");
$events = array();
......@@ -464,6 +467,9 @@ class PhPeaceUpdates
$dbconf = $conf->Get("dbconf");
switch($db_version)
{
case "267":
$db->query("ALTER TABLE features CHANGE COLUMN condition_id condition_id MEDIUMINT(6) UNSIGNED NOT NULL DEFAULT '0'");
break;
case "266":
$db->ColumnAdd("events","image_ratio","DECIMAL(10, 8)","NULL",true);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment