Ad Widget

Collapse

trigger popup (dependency bug)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zyclonite
    Junior Member
    • Jun 2006
    • 4

    #1

    trigger popup (dependency bug)

    a small workaround is:

    in popup.php line 250:

    PHP Code:
                if($row1=DBfetch($result1))
                {
    #                array_push($description,BR.BR."<strong>".S_DEPENDS_ON."</strong>".SPACE.BR);
                    
    $description->AddItem(BR.BR."<strong>".S_DEPENDS_ON."</strong>".SPACE.BR);
                    do
                    {
    #                    array_push($description,expand_trigger_description($row1["triggerid"]).BR);
                        
    $description->AddItem(expand_trigger_description($row1["triggerid"]).BR);
                    } while( 
    $row1=DBfetch($result1));
    #                array_push($description,BR);
                    
    $description->AddItem(BR);
                } 
    is only needed if you have deps on a trigger -> the array push will throw a warning because $description is not an array
Working...