Skip to content

Commit

Permalink
Fix function signature error
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWeinert committed Jun 5, 2018
1 parent 38174ce commit 86601b7
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions src/system/papaya_boxeslinks.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<?php
/**
* Link Box with preview page
*
* @copyright 2002-2007 by papaya Software GmbH - All rights reserved.
* @link http://www.papaya-cms.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, version 2
*
* You can redistribute and/or modify this script under the terms of the GNU General Public
* License (GPL) version 2, provided that the copyright and license notes, including these
* lines, remain unmodified. papaya is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
*
* @package Papaya
* @subpackage Core
* @version $Id: papaya_boxeslinks.php 39732 2014-04-08 15:34:45Z weinert $
*/
* papaya CMS
*
* @copyright 2000-2018 by papayaCMS project - All rights reserved.
* @link http://www.papaya-cms.com/
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, version 2
*
* You can redistribute and/or modify this script under the terms of the GNU General Public
* License (GPL) version 2, provided that the copyright and license notes, including these
* lines, remain unmodified. papaya is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
*/

/**
* Link Box with page
Expand Down Expand Up @@ -138,14 +134,15 @@ function loadBoxList() {
}

/**
* Load data list
*
* @param integer $lngId
* @param integer $viewModeId
* @access public
* @return boolean
*/
function loadDataList($lngId, $viewModeId) {
* Load data list
*
* @param integer $lngId
* @param integer $viewModeId
* @param null $now
* @return boolean
* @access public
*/
function loadDataList($lngId, $viewModeId, $now = NULL) {
$this->data = array();
if ($viewModeId > 0) {
$sql = "SELECT bl.topic_id, bl.box_id, bl.box_sort,
Expand Down

0 comments on commit 86601b7

Please sign in to comment.