error in file-download-count sql
You need to be logged in to post messages in the forums. New users may register here.
|
Gernot Rief
Member since: 07 March 2003
Posts: 2
|
Thursday 18 November 2010 11:05:50 am
hi!
nice extension
i think the file-download-count sql should be
$db->query( 'UPDATE ezbinaryfile
SET download_count = ( download_count+1 )
WHERE contentobject_attribute_id = '.$contentObjectAttributeID.'
AND version= '.$version.'
AND filename= "'.eZDB::instance()->escapeString( $id ).'"' );
instead of
...WHERE contentobject_attribute_id = $contentObjectAttributeID AND...
lg
|
|
|
Heath Heath
Member since: 04 March 2007
Posts: 73
|
Friday 18 November 2011 3:01:53 pm
|
|
You need to be logged in to post messages in the forums. New users may register here.