|
From: | Mario |
Subject: | [Dolibarr-bugtrack] [bug #28894] Lors de MAJ d'Action: Unknown column 'BuXU4iBh3e6vA' in 'where clause' |
Date: | Fri, 21 May 2010 15:30:18 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5 |
Follow-up Comment #7, bug #28894 (project dolibarr): Comme le problèmre arrives aussi ailleurs, j'ai écrit qqs scripts pour résoudre ces problèmes globalement: -------------- rep (remplace les REQUEST en faisant attention aux empty et isset #!/bin/sh perl -p -i -e 's/empty($_REQUEST[(.*?)])/(empty($_GET[$1])&&empty($_POST[$1]))/g;' -e 's/isset($_REQUEST[(.*?)])/(isset($_GET[$1])||isset($_POST[$1]))/g;' -e 's/$_REQUEST[(.*?)]/(isset($_GET[$1])?$_GET[$1]:$_POST[$1])/g;' $* ------------- repall #/bin/sh find . -name '*.php' -exec /volume1/web/dolibarr/rep {} ; _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28894> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |