• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの


Commit MetaInfo

Revisionc8d439afe584d944bbb6715f0000690aefece6b5 (tree)
Time2006-10-13 23:47:39
Authorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

Typo orz

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@447 1ca29b6e-896d-4ea0-84a5-967f57386b96

Change Summary

Incremental Difference

--- a/trunk/NP_ShowBlogs/NP_ShowBlogs.php
+++ b/trunk/NP_ShowBlogs/NP_ShowBlogs.php
@@ -349,14 +349,14 @@ $monthlimit = 0;
349349 }
350350 $q_startpos++;
351351 $q_amount--;
352- if ($q_amount <= $q_startpos) return;
352+ if ($q_amount < $q_startpos) return;
353353 $onlyone_query = $showQuery . ' LIMIT ' . intval($q_startpos) . ', 1';
354354 $b->showUsingQuery($template, $onlyone_query, 0, 1, 1);
355355 if (mysql_num_rows(sql_query($onlyone_query)) && empty($ads)) {
356356 echo $this->getOption('ads2');
357357 }
358358 //------------SECOND AD CODE END-------------
359- if ($q_amount <= $q_startpos) return;
359+ if ($q_amount < $q_startpos) return;
360360 $q_startpos++;
361361 $q_amount--;
362362 $second_query = $showQuery . ' LIMIT ' . intval($q_startpos) . ',' . intval($q_amount);
Show on old repository browser