Good Morning,
i am using the following function to identify the actual user by login-name und return the id-value of the entry in a separate table for users:
Works well when working direct with the table from the menu, works not when calling from within a MAster-Detail-View...
Any idea what's going wrong?
Kind regards
Martin
----------------
You are running the latest release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.
mysql version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
Web server: Apache/2.4.41 (Ubuntu)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
i am using the following function to identify the actual user by login-name und return the id-value of the entry in a separate table for users:
Code:
function dadabik_get_actual_userid(){
global $conn;
global $current_user;
$sql = "select id_Pruefer from tbl_Pruefer where Anmeldung_Windows = '$current_user'";
$res = execute_db($sql, $conn,0);
return $res->fetchColumn(0);
} // Ende Ermittlung aktuelle User-ID
Works well when working direct with the table from the menu, works not when calling from within a MAster-Detail-View...
Any idea what's going wrong?
Kind regards
Martin
----------------
Your current DaDaBIK version
You are using DaDaBIK version 11.4-Elba enterprise, installed on 12.03.2022 (installation code: 0), the latest version of DaDaBIK is 11.4-Elba released on 28.02.2022You are running the latest release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.
System info
PHP Version: 7.4.3mysql version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1
Web server: Apache/2.4.41 (Ubuntu)
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15