[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/44: typo
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 15/44: typo |
Date: |
Wed, 26 Dec 2018 04:29:52 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d8c24d9cc7ec08daaeaa25faf779ae91f926188d
Author: Dany De Bontridder <address@hidden>
Date: Thu Nov 22 11:20:25 2018 +0100
typo
---
include/profile.inc.php | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/include/profile.inc.php b/include/profile.inc.php
index 27ced2e..d48cd6a 100644
--- a/include/profile.inc.php
+++ b/include/profile.inc.php
@@ -159,11 +159,11 @@ if (isset($_POST['clone']))
where p_id=$2
", array($new_id, $p_id));
$cn->exec_sql("select menu_complete_dependency($1)",array($new_id));
- $cn->exec_sql("update profile_menu
- set pm_id_dep=(select distinct higher_dep
- from v_menu_dependency as a
+ $cn->exec_sql("update profile_menu
+ set pm_id_dep=(select distinct higher_dep
+ from v_menu_dependency as a
where
- a.pm_id= profile_menu.pm_id)
+ a.pm_id= profile_menu.pm_id)
where pm_id_dep is null and p_id=$1",array($new_id));
$cn->commit();
$p_id=$new_id;
@@ -203,7 +203,7 @@ if (isset($_POST['delete_profil']))
}
}
//************************************
-// Modify the menu
+// Modify the menu
//************************************
if (isset($_POST['mod']))
{
@@ -213,7 +213,7 @@ if (isset($_POST['mod']))
$pm_id=$http->post("pm_id", "number");
// profile id
$p_id=$http->post("p_id", "number");
- // display order
+ // display order
$p_order=$http->post("p_order", "number");
// code to add
$me_code=$http->post("me_code");
@@ -268,7 +268,7 @@ if (isset($_POST['add_menu'])||isset($_POST['add_impress']))
$p_dep=$http->post("dep","number",null);
// profile id
$p_id=$http->post("p_id", "number");
- // display order
+ // display order
$p_order=$http->post("p_order");
// code to add
$me_code=$http->post("me_code");
@@ -326,9 +326,9 @@ if (isset($_POST['add_menu'])||isset($_POST['add_impress']))
* if me_code_dep == -1, it means it is null
*/
$me_code_dep=($me_code_dep==-1)?null:$me_code_dep;
-
+
/*
- * Do not insert twice the same menu
+ * Do not insert twice the same menu
*/
$duplicate = $cn->get_value(" select count(*) from profile_menu where "
. " pm_id_dep = $1 and me_code =
$2",array($pm_id_dep,$me_code));
@@ -348,7 +348,7 @@ if (isset($_POST['add_menu'])||isset($_POST['add_impress']))
catch (Exception $exc)
{
alert($exc->getMessage());
- $cn->rollback;
+ $cn->rollback();
}
}
@@ -439,5 +439,5 @@ $dep=$http->post("dep","string","");
}
selected_menu=rowid;
}
-
-</script>
\ No newline at end of file
+
+</script>
- [Noalyss-commit] [noalyss] 22/44: Exception rethrow, (continued)
- [Noalyss-commit] [noalyss] 22/44: Exception rethrow, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 37/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 05/44: Bug : cannot set group, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 21/44: cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 30/44: acc_ledger_fin . translation, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 29/44: Background color, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 27/44: Quant_Fin : set the j_id when an operation is recorded, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 25/44: Currency : SQL quant_fin is adapted, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 31/44: Indentation, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 32/44: change background, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 15/44: typo,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 34/44: predefined operation , invalid value for database::setp, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 28/44: reverse for quant_fin, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 36/44: Pre_Operation : add attribut, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 08/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 44/44: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 42/44: Doc + typo, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 39/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 11/44: Improve cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 23/44: translate, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 38/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit look also into NOALYSS_INCLUDE, Dany De Bontridder, 2018/12/26