Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの
Revision | c8d439afe584d944bbb6715f0000690aefece6b5 (tree) |
---|---|
Time | 2006-10-13 23:47:39 |
Author | shizuki <shizuki@1ca2...> |
Commiter | shizuki |
Typo orz
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@447 1ca29b6e-896d-4ea0-84a5-967f57386b96
@@ -349,14 +349,14 @@ $monthlimit = 0; | ||
349 | 349 | } |
350 | 350 | $q_startpos++; |
351 | 351 | $q_amount--; |
352 | - if ($q_amount <= $q_startpos) return; | |
352 | + if ($q_amount < $q_startpos) return; | |
353 | 353 | $onlyone_query = $showQuery . ' LIMIT ' . intval($q_startpos) . ', 1'; |
354 | 354 | $b->showUsingQuery($template, $onlyone_query, 0, 1, 1); |
355 | 355 | if (mysql_num_rows(sql_query($onlyone_query)) && empty($ads)) { |
356 | 356 | echo $this->getOption('ads2'); |
357 | 357 | } |
358 | 358 | //------------SECOND AD CODE END------------- |
359 | - if ($q_amount <= $q_startpos) return; | |
359 | + if ($q_amount < $q_startpos) return; | |
360 | 360 | $q_startpos++; |
361 | 361 | $q_amount--; |
362 | 362 | $second_query = $showQuery . ' LIMIT ' . intval($q_startpos) . ',' . intval($q_amount); |