Ticket #1943 (assigned defect)

Opened 4 years ago

Last modified 2 years ago

xor(??) problem

Reported by: gollum Assigned to: tim (accepted)
Priority: normal Milestone: 3.0.0 release
Component: Core Version: trunk
Severity: minor Keywords:
Cc:

Description (Last modified by weyrick)

runs interperted ok, but complains when you try to compile

<?
    if ((isset($tid)) && (!isset($pid))) {
        singlecomment($tid, $sid, $mode, $order, $thold);
    } elseif (($mainfile) xor (($pid==0) AND (!isset($pid)))) {
        Header("Location: modules.php?name=$module_name&file=article&sid=$sid&mode=$mode&order=$order&thold=$thold");
    } else {
        if(!isset($pid)) $pid=0;
        DisplayTopic($sid, $pid, $tid, $mode, $order, $thold);
    }
?>

Change History

01/24/06 04:47:38 changed by weyrick

verified still exists in 1.8.0

04/15/07 09:01:42 changed by weyrick

  • priority changed from high to normal.
  • version set to 2.9.0 beta.
  • type set to defect.
  • description changed.
  • milestone set to 3.0.0 release.

04/15/07 09:12:13 changed by root

  • milestone deleted.

Milestone 3.0.0 release deleted

04/15/07 11:08:22 changed by weyrick

  • milestone set to 3.0.0 release.