Skip to content

Commit

Permalink
Unnecessary double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed May 19, 2020
1 parent d7b63ff commit 2acb107
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
$story['title'] = "<a href='" . $item->getItemUrl() . "'" . $htmltitle . '>' . $item->getTitle() . '</a>';
$story['cleantitle'] = strip_tags($item->getTitle());
$story['itemurl'] = $item->getItemUrl();
$story['category'] = "<a href='" . XOOPS_URL . '/modules/' . PUBLISHER_DIRNAME . '/category.php?categoryid=' . $item->categoryid() . "'>" . $item->getCategoryName() . "</a>";
$story['category'] = "<a href='" . XOOPS_URL . '/modules/' . PUBLISHER_DIRNAME . '/category.php?categoryid=' . $item->categoryid() . "'>" . $item->getCategoryName() . '</a>';
$story['counter'] = $item->counter();
$story['date'] = $item->getDatesub();
$story['print_link'] = XOOPS_URL . '/modules/' . PUBLISHER_DIRNAME . '/print.php?itemid=' . $item->itemid();
Expand Down
10 changes: 5 additions & 5 deletions include/plugin.tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ function publisher_tag_synchronization($mid)

/* clear tag-item links */
$sql = " DELETE FROM {$linkHandler->table}"
. " WHERE "
. ' WHERE '
. " tag_modid = {$mid}"
. " AND "
. " ( tag_itemid NOT IN "
. ' AND '
. ' ( tag_itemid NOT IN '
. " ( SELECT DISTINCT {$itemHandler->keyName} "
. " FROM {$itemHandler->table} "
. " WHERE {$itemHandler->table}.status = " . _CO_PUBLISHER_PUBLISHED
. " ) "
. " )";
. ' ) '
. ' )';
$result = $linkHandler->db->queryF($sql);

return $result ? true : false;
Expand Down
4 changes: 2 additions & 2 deletions makepdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
$firstLine = Publisher\Utility::convertCharset($GLOBALS['xoopsConfig']['sitename']) . ' (' . XOOPS_URL . ')';
$secondLine = Publisher\Utility::convertCharset($GLOBALS['xoopsConfig']['slogan']);

$PDF_HEADER_LOGO = "_blank.png";
$PDF_HEADER_LOGO_WIDTH = "";
$PDF_HEADER_LOGO = '_blank.png';
$PDF_HEADER_LOGO_WIDTH = '';

//$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, $firstLine, $secondLine);
$pdf->setHeaderData($PDF_HEADER_LOGO, $PDF_HEADER_LOGO_WIDTH, $firstLine, $secondLine);
Expand Down

0 comments on commit 2acb107

Please sign in to comment.