- milestone: --> v0.9
WFaction.php
Line 51
if (isset($var["extlink0"])) {
$gotopage = $var["extlink0"];
}
The Value $var[extlink0] doesn't exist here, just eixist in
actions.php
Delete this sequence and replace line 56 - 66 with
$sql = "SELECT TITLE, subtitle, lead, abstract, text,
ACTIVE, extlink FROM " . $cfg_main_table["o"] . "
WHERE GID=0 AND ID=" . $var["FW"];
$result = $cfg_db["o"]->query($sql);
if (DB::isError($result)) {
die($sql . "<br>" . $result->getMessage());
}
while ($row = $result->fetchRow()) {
$TITLE = $row[0];
$text = $row[1] ." <br> " . $row[2] . " " . $row[3];
$blob = $row[4] ;
$active = $row[5];
$gotopage = $row[6];
}