Changeset 11869

Show
Ignore:
Timestamp:
08/30/07 15:21:01 (1 year ago)
Author:
bergie
Message:

Use correct method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/net.nehmer.static/handler/view.php

    r11867 r11869  
    105105        $qb->add_constraint('name', '=', $args[0]); 
    106106        $qb->add_constraint('up', '=', 0); 
    107         $qb->add_limit(1); 
     107        $qb->set_limit(1); 
    108108         
    109109        if ($qb->count() == 0)