largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0015211 [phplist] Message Send Process major always 09-01-09 16:57 04-05-09 14:13
Reporter davideg View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved   Product Version 2.10.8
Summary 0015211: STACKED_ATTRIBUTE_SELECTION "," error on values
Description with STACKED_ATTRIBUTE_SELECTION = 1, in the message composition window, when i add a criterion that's not a checkbox (so i get the error with select and gr) i get an sql error on ",1".
Trying to to a little debug i've found that the problem is in send_core.php because the sql is so composed:
--
in values (,1)
--
if i add more conditions the sql get:
--
in values (,1,2)
--
so the error is that it puts an additional comma at the begin.
I've do a workaround adding this at line 822:

--
$crit_data["values"] = preg_replace('/^,/','',$crit_data["values"]);
--

That's obviusly a workaround but it works and can get closer to the problem solution.

Regards.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker