Thilo Bangert skrev:
> Hi,
> 
> i found the solution to bug #559, as reported in
> "[Oscar-users] images not fully deleted".
> 
> please apply the following patch.

of course, thats only the first half of the fix. also the following
change is necessary to make it work correctly

[r...@buster SIS]# svn diff
Index: NewDB.pm
===================================================================
--- NewDB.pm    (revision 8678)
+++ NewDB.pm    (working copy)
@@ -302,11 +302,11 @@

       my @result;
       my (%options,@errors);
-    $options{debug}=1;
-    print "SQL query: $sql\n" if $debug;
-    #die "$0:Failed to query values via << $sql >>"
-    #    if (!do_select($sql,\...@result, \%options, @errors));
-    return @result;
+    #$options{debug}=1;
+    #print "SQL query: $sql\n" if $debug;
+    die "$0:Failed to query values via << $sql >>"
+        if (!do_update($sql, $maintable, \%options, @errors));
+    return 1;
   }

   #sub set_common {
[r...@buster SIS]#

kind regards
Thilo


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to