Projekt - IALE: Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
Zeile 22: Zeile 22:
  
 
''function cleanCommaList($list) {
 
''function cleanCommaList($list) {
 
 
   return join(',',cleanArray(split(',',$list)));
 
   return join(',',cleanArray(split(',',$list)));
 
 
}''
 
}''
  
Zeile 32: Zeile 30:
  
 
#function cleanCommaList($list) {
 
#function cleanCommaList($list) {
 
 
#  return join(',',cleanArray(split(',',$list)));
 
#  return join(',',cleanArray(split(',',$list)));
 
 
#}
 
#}
 
 
''
 
''
 
function cleanCommaList($list) {
 
function cleanCommaList($list) {
 
 
   foreach ($list as $key=>$value) {
 
   foreach ($list as $key=>$value) {
 
 
       if(!$value) {
 
       if(!$value) {
 
 
         array_splice($list, $key, 1);  //Remove null value from array
 
         array_splice($list, $key, 1);  //Remove null value from array
 
 
       }
 
       }
 
 
   }''
 
   }''
 
   return $list;
 
   return $list;
 
}
 
}

Version vom 3. Dezember 2012, 09:45 Uhr

Besonderheiten

  • Eigene Extension für Telecash Connect Schnittstelle
  • JavaScript Validierung mit jQuery Validate Plugin

phpList für Newsletterversand

  • Änderungen beim Update evenetuell wieder anpassen :

die Index-Seiten werden auf Wunsch des Kunden nich angezeigt, also keine Anmeldung und Abmeldung möglich, Umleitung per htaccess auf die Hauptseite

Fehler Meldung beim Testimport:



SQL Fehler beim Importieren:

open up /lists/admin/connect.php


Search for the following code (around line 1131 in my version):

function cleanCommaList($list) {

 return join(',',cleanArray(split(',',$list)));

}


Version 2.10.10 has a new function called cleanCommaList() in connect.php. This is to remove null values in the attributes array, but it apparently doesn't work. Taking code from an earlier patch (bug 15182), replace the existing cleanCommaList function (line 1131 in connect.php) with this:


  1. function cleanCommaList($list) {
  2. return join(',',cleanArray(split(',',$list)));
  3. }

function cleanCommaList($list) {

  foreach ($list as $key=>$value) {
     if(!$value) {
        array_splice($list, $key, 1);  //Remove null value from array
     }
  }
 return $list;

}