Architecture / Installation

Architecture / Installation

Re: integrator errors

posts: 2881 United Kingdom

Just commited the corrected integrator.php library to CVS.

if ($ord == 0)
            $query = "select max(`ord`) from `tiki_integrator_rules` where `repID`=?";
            $ord = $tikilib->getOne($query, array($repID)) + 1;
        if (strlen($ruleID) == 0 || $ruleID == 0) {
            $query = "insert into `tiki_integrator_rules`
            $qparms = array($repID, $ord, $srch, $repl, $type, $case, $rxmod, $en, $descr);
        } else {

            $query = "update `tiki_integrator_rules`
                      set `repID`=?,`ord`=?,`srch`=?,`repl`=?,`type`=?,`casesense`=?,
                      `rxmod`=?,`enabled`=?,`description`=? where `ruleID`=?";
            $qparms = array($repID, $ord, $srch, $repl, $type, $case, $rxmod, $en, $descr,(int) $ruleID);
        $result = $tikilib->query($query, $qparms);
        // Clear cached pages for this repository

is the corrected area in function add_replace_rule biggrin

Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.