From: Thomas Mudrunka Date: Fri, 24 May 2013 21:22:13 +0000 (+0200) Subject: Malinka priprava locku X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=19d95f062a5ffa8c4379461b12cb693f459cce25;p=mirrors%2FSokoMan.git Malinka priprava locku --- diff --git a/index.php b/index.php index bb5bb5e..c8a746d 100755 --- a/index.php +++ b/index.php @@ -736,7 +736,8 @@ class Sklad_DB extends PDO { function load_backend_data_to_query_results(&$result,$suffix_backend='_backend') { $translate_cols = array( - 'item_author' => 'return($this->auth->get_username_by_id($result[$key][$col]));' + 'item_author' => 'return($this->auth->get_username_by_id($result[$key][$col]));', + 'lock_author' => 'return($this->auth->get_username_by_id($result[$key][$col]));' ); //TODO: Hardcoded foreach($result as $key => $row) { foreach($translate_cols as $col => $backend) if(isset($result[$key][$col])){