[Bug 5410] New: images module: passed by reference error
- From: bugzilla-daemon (at) xaraya.com
- Date: Wed, 8 Feb 2006 03:41:28 +0000 (GMT)
Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.
http://bugs.xaraya.com/show_bug.cgi?id=5410
Summary: images module: passed by reference error
Product: App - Modules
Version: Weekly Tarball
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3 - Standard
Component: Images
AssignedTo: niceguyeddie (at) xaraya.com
ReportedBy: curtis (at) farnham.com
Xaraya Version: 1.0.2
PHP version:
WebServer:
Fatal error: Only variables can be passed by reference in
/path/to/my/xaraya/modules/images/xaruserapi/encode_shorturl.php on line 36
I fixed it by replacing line 36 with:
$imageinfo = xarModAPIFunc('uploads', 'user', 'db_get_file', array('fileId' =>
$fileId));
$image = end($imageinfo);
Reproducible: Always
Steps to Reproduce:
--
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs