|
From: <be...@us...> - 2013-09-08 15:51:59
|
Revision: 12011
http://sourceforge.net/p/xoops/svn/12011
Author: beckmi
Date: 2013-09-08 15:51:55 +0000 (Sun, 08 Sep 2013)
Log Message:
-----------
Bug fix: replacing Description with Summary
Modified Paths:
--------------
XoopsModules/wfdownloads/trunk/wfdownloads/class/download.php
Modified: XoopsModules/wfdownloads/trunk/wfdownloads/class/download.php
===================================================================
--- XoopsModules/wfdownloads/trunk/wfdownloads/class/download.php 2013-09-05 20:53:03 UTC (rev 12010)
+++ XoopsModules/wfdownloads/trunk/wfdownloads/class/download.php 2013-09-08 15:51:55 UTC (rev 12011)
@@ -236,7 +236,7 @@
if ($this->wfdownloads->getConfig('autosummary') == true || empty($summary))
{
$summaryLength = (int)$this->wfdownloads->getConfig('autosumlength');
- $summaryDescription = stripslashes($this->getVar('description'));
+ $summaryDescription = stripslashes($this->getVar('summary'));
if (strlen($summaryDescription) > $summaryLength) {
$summaryDescription = substr($summaryDescription, 0, $summaryLength);
$summaryDescription = trim(substr($summaryDescription, 0, strrpos($summaryDescription, ' '))) . ' ...';
|