1
ChadK
myablum fix for DELETING photos
  • 2004/7/15 17:22

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


in the file modules\myablums\includes\functions.php
find all instances of "query( "DELETE" and replace with "queryF( "DELETE"


Basically this means you'll have three lines near the bottom change to:
Quote:

$xoopsDB->queryF( "DELETE FROM $table_votedata WHERE lid=$lid" ) or die( "DB error: DELETE votedata table." ) ;
$xoopsDB->queryF( "DELETE FROM $table_text WHERE lid=$lid" ) or die( "DB error: DELETE text table." ) ;
$xoopsDB->queryF( "DELETE FROM $table_photos WHERE lid=$lid" ) or die( "DB error: DELETE photo table." ) ;



Login

Who's Online

101 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 101


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits