Skip to content

Commit

Permalink
remove the never working limitstart call
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Jul 19, 2017
1 parent f002c0b commit d39631b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/com_content/helpers/icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,8 @@ public static function edit($article, $params, $attribs = array(), $legacy = fal
*/
public static function print_popup($article, $params, $attribs = array(), $legacy = false)
{
$app = JFactory::getApplication();
$input = $app->input;
$request = $input->request;

$url = ContentHelperRoute::getArticleRoute($article->slug, $article->catid, $article->language);
$url .= '&tmpl=component&print=1&layout=default&page=' . @ $request->limitstart;
$url .= '&tmpl=component&print=1&layout=default';

$status = 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no';

Expand Down

0 comments on commit d39631b

Please sign in to comment.