• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

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


Commit MetaInfo

Revision201374630ff3d31775ebdfc44e7230a195974a7f (tree)
Time2009-07-10 03:25:02
Authorkmorimatsu <kmorimatsu@1ca2...>
Commiterkmorimatsu

Log Message

Bugfix: search in PubMed site in plugin admin window (eSummary error).

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

Change Summary

Incremental Difference

--- a/NP_PubMed/trunk/pubmed/index.php
+++ b/NP_PubMed/trunk/pubmed/index.php
@@ -189,7 +189,8 @@ class PubMedAdmin extends BaseActions {
189189 $likes='';
190190 foreach($contents as $value){
191191 if (!($value=(int)$value)) continue;
192- $ids.='&id='.$value;
192+ if (!$ids) $ids='&id='.$value;
193+ else $ids.=','.$value;
193194 $likes.=' OR ibody LIKE "%<!--PMID: '.(int)$value.'-->%"';
194195 }
195196 // Check if there are records for the articles
Show on old repository browser