Projects ⇒ Bugs ⇒ #536: Title not being displayed in block-CPG-center-scroll-Top_view_pictures.php ⇒ CPG Dragonfly™ CMS
Bug #536 Title not being displayed in block-CPG-center-scroll-Top_view_pictures.php
Project: Dragonfly 9.0.3 -> 9.3 Category: Blocks
Submitted: Saturday, June 04, 2005 (02:19:23) Modified: Saturday, June 04, 2005 (10:36:18)
Status: Closed Assigned to:
PHP Version: Irrelevant HTTPD Server: Apache 1.3

View/Vote Add Comment

by: Jordo
Description:
------------
Error is block-CPG-center-scroll-Top_view_pictures.php

* Notice line 47: Undefined index: title

To fix:
On or about line 39 change to:
$result = $db->sql_query("SELECT pid, filepath, filename, hits, p.title FROM ".$cpg_prefix."pictures AS p INNER JOIN ".$cpg_prefix."albums AS a ON (p.aid = a.aid AND ".VIS_GROUPS.") WHERE approved='YES' GROUP BY pid ORDER BY hits DESC LIMIT $length",false,__FILE__,__LINE__);
by: Trevor
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español