Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/lib/soap/soap_server.php between version 1.4 and 1.5

version 1.4, 2011/12/21 09:11:10 version 1.5, 2011/12/21 10:04:30
Line 95  if (isset($_GET['wsdl'])) {
Line 95  if (isset($_GET['wsdl'])) {
                                                 <GetLatestHeadLinesByCategory>                                                  <GetLatestHeadLinesByCategory>
                         ';                          ';
                         $articles = ezin_get_article_list(intval($nCategoryID),0,0);                          $articles = ezin_get_article_list(intval($nCategoryID),0,0);
                         $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount;                          $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1;
                         for ($a = $nRowIndex; $a < $last_article; $a++) {                          $last_article = ($last_article > count($articles)) ? count($articles) : $last_article;
                           for ($a = $nRowIndex; $a <= $last_article; $a++) {
                                 // $nRowIndex je cislovany od 1, preto sa posuva                                  // $nRowIndex je cislovany od 1, preto sa posuva
                                 $b = $a - 1;                                  $b = $a - 1;
                                 $soap_out .= '                                  $soap_out .= '
Line 127  if (isset($_GET['wsdl'])) {
Line 128  if (isset($_GET['wsdl'])) {
                                                 <GetLatestHeadLinesByAuthorResult>                                                  <GetLatestHeadLinesByAuthorResult>
                         ';                          ';
                         $articles = ezin_get_article_list(0,intval($nAuthorID),0);                          $articles = ezin_get_article_list(0,intval($nAuthorID),0);
                         $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount;                          $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1;
                         for ($a = $nRowIndex; $a < $last_article; $a++) {                          $last_article = ($last_article > count($articles)) ? count($articles) : $last_article;
                           for ($a = $nRowIndex; $a <= $last_article; $a++) {
                                 // $nRowIndex je cislovany od 1, preto sa posuva                                  // $nRowIndex je cislovany od 1, preto sa posuva
                                 $b = $a - 1;                                  $b = $a - 1;
                                 $soap_out .= '                                  $soap_out .= '
Line 158  if (isset($_GET['wsdl'])) {
Line 160  if (isset($_GET['wsdl'])) {
                                                 <GetLatestHeadLinesResult>                                                  <GetLatestHeadLinesResult>
                         ';                          ';
                         $articles = ezin_get_article_list(0,0,0);                          $articles = ezin_get_article_list(0,0,0);
                         $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount;                          $last_article = ($nCount == 0) ? count($articles) : $nRowIndex + $nCount - 1;
                         for ($a = $nRowIndex; $a < $last_article; $a++) {                          $last_article = ($last_article > count($articles)) ? count($articles) : $last_article;
                           for ($a = $nRowIndex; $a <= $last_article; $a++) {
                                 // $nRowIndex je cislovany od 1, preto sa posuva                                  // $nRowIndex je cislovany od 1, preto sa posuva
                                 $b = $a - 1;                                  $b = $a - 1;
                                 $soap_out .= '                                  $soap_out .= '

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top