From 19d95f062a5ffa8c4379461b12cb693f459cce25 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Fri, 24 May 2013 23:22:13 +0200 Subject: [PATCH] Malinka priprava locku --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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])){ -- 2.30.2