diff --git a/htdocs/product/album/album.class.php b/htdocs/product/album/album.class.php
index 97bedd920a4..ee4d8ae060e 100644
--- a/htdocs/product/album/album.class.php
+++ b/htdocs/product/album/album.class.php
@@ -48,19 +48,19 @@ class Album {
$this->annee = 0;
}
- $sql = "insert into ".DB_NAME_OSC.".products (products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_date_added) ";
- $sql .= "values ('', '', 'Array', '', null, '', '0', '0', '8', now())";
+ $sql = "INSERT INTO ".DB_NAME_OSC.".products (products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_date_added) ";
+ $sql .= "VALUES ('', '', 'Array', '', null, '', '0', '0', '8', now())";
if ($this->db->query($sql) )
{
$idosc = $this->db->last_insert_id();
- $sql = "insert into ".DB_NAME_OSC.".products_to_categories (products_id, categories_id) values ($idosc, 0)";
+ $sql = "INSERT INTO ".DB_NAME_OSC.".products_to_categories (products_id, categories_id) VALUES ($idosc, 0)";
if ($this->db->query($sql) )
{
- $sql = "insert into ".DB_NAME_OSC.".products_description (products_name, products_description, products_url, products_id, language_id) values ('".trim($this->titre)."', '".trim($this->description)."', '', $idosc, '1')";
+ $sql = "INSERT INTO ".DB_NAME_OSC.".products_description (products_name, products_description, products_url, products_id, language_id) VALUES ('".trim($this->titre)."', '".trim($this->description)."', '', $idosc, '1')";
if ($this->db->query($sql) )
{
@@ -109,7 +109,7 @@ class Album {
function linkga($id, $gaid)
{
- $sql = "INSERT INTO ".MAIN_DB_PREFIX."album_to_groupart (fk_album, fk_groupart) values ($id, $gaid)";
+ $sql = "INSERT INTO ".MAIN_DB_PREFIX."album_to_groupart (fk_album, fk_groupart) VALUES ($id, $gaid)";
if ( $this->db->query($sql) ) {
return 1;
diff --git a/htdocs/projetdon.class.php b/htdocs/projetdon.class.php
index ac4c76311c0..6a2bce082f7 100644
--- a/htdocs/projetdon.class.php
+++ b/htdocs/projetdon.class.php
@@ -31,19 +31,14 @@ class ProjetDon {
function ProjetDon($DB) {
$this->db = $DB;
}
- /*
- *
- *
- *
- */
-
/*
*
*
*
*/
- function liste_array($id_societe='')
+
+ function liste_array($id_societe='')
{
$projets = array();
diff --git a/htdocs/soc.php b/htdocs/soc.php
index d7b3f43a9af..9cd50995df0 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -24,8 +24,6 @@
require("pre.inc.php");
-setlocale(LC_ALL, "fr_BE");
-
$langs->load("companies");
diff --git a/htdocs/test.php b/htdocs/test.php
deleted file mode 100644
index bec292edd2b..00000000000
--- a/htdocs/test.php
+++ /dev/null
@@ -1,24 +0,0 @@
-";
-
-$t = $t * 2 ;
-
-print "t=t*2 $t
";
-
-
-
-$t = "1,23";
-
-print "(t=1,23) $t
";
-
-$t = $t * 2 ;
-
-print "t=t*2 $t
";
-
-
-?>