Show
Ignore:
Timestamp:
11/21/09 20:52:50 (3 years ago)
Author:
nikrou
Message:

Feature 1255 : limit params in sql queries were in wrong order (LIMIT count OFFSET offset)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/category_cats.inc.php

    r4325 r4334  
    106106    ).' 
    107107  ORDER BY RAND() 
    108   LIMIT 0,1 
     108  LIMIT 1 
    109109;'; 
    110110      $subresult = pwg_query($query); 
     
    134134    ).' 
    135135    ORDER BY RAND() 
    136     LIMIT 0,1 
     136    LIMIT 1 
    137137  ;'; 
    138138      $subresult = pwg_query($query);