Utilizzo dei criteri per inviare messaggi in PhpList
Jump to navigation
Jump to search
- Impostare l'utilizzo dei criteri avanzati:
sudoedit config/config.php
define("STACKED_ATTRIBUTE_SELECTION",1);
- Applicare la patch per evitare l'errore:
Database error 1064 while doing query
--- admin/connect.php.old 2010-04-23 15:05:55.000000000 +0000
+++ admin/connect.php 2010-12-22 15:40:43.000000000 +0000
@@ -1129,21 +1129,21 @@
return $result;
}
-#function cleanCommaList($list) {
-# return join(',',cleanArray(split(',',$list)));
-#}
-
-function cleanCommaList($sList) {
- if (!strpos($sList,',')) return $sList;
- $aList = explode(',',$sList);
- foreach ($aList as $key=>$value) {
- if(!$value) {
- array_splice($aList, $key, 1); //Remove null value from array
- }
- }
- return join(',',$aList);
+function cleanCommaList($list) {
+ return join(',',cleanArray(split(',',$list)));
}
+#function cleanCommaList($sList) {
+# if (!strpos($sList,',')) return $sList;
+# $aList = explode(',',$sList);
+# foreach ($aList as $key=>$value) {
+# if(!$value) {
+# array_splice($aList, $key, 1); //Remove null value from array
+# }
+# }
+# return join(',',$aList);
+#}
+
function formatTime($time, $short = 0) {
return $time;