Plugin Directory

Changeset 2458777


Ignore:
Timestamp:
01/19/2021 08:41:54 AM (5 years ago)
Author:
frier
Message:

2021-01-19 quick fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • books-papers/trunk/classes/functions/bridge-replace_pub_updated.php

    r2458733 r2458777  
    165165                foreach($wpdb->get_results("SELECT *" . ($orderBy=="author" ? ", (select case when author_id is null then author_name else (select last_name from wp_books_and_papers_authors where id=author_id) end from " . $this->dbArticleAuthor . " where article_id=" . $this->dbArticles . ".id limit 1) as author" : "") . " FROM " . $this->dbArticles . " WHERE is_public IS NOT NULL" . ($prep == "only" ? " AND preprint IS NOT NULL" : ($prep == "ex" ? " AND preprint IS NULL": "")) . ($year != "0" ? " AND year=" . $year : "") . " AND `id` IN (" . $ids . ") ORDER BY $orderBy " . get_option('bnpp_list_order')) as $ar)
    166166                {
    167                     print_r($ar);
    168167                    $result_temp .= $this->fillArticleElement($ar);
    169168                }
    170169            }
    171             print_r($this->dbArticles);
    172170            if($result_temp != ""){
    173171                $result .= get_option('bnpp_article_head') . $num_st . $result_temp . $num_en;
Note: See TracChangeset for help on using the changeset viewer.