X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=a81433445999be3e5b8661501203e188c11de4e1;hb=f94aa899b883c5d3218699245c0d75965d1d98fb;hp=c8a746d5d1781040f4af1a506f3ea95daa524fa7;hpb=19d95f062a5ffa8c4379461b12cb693f459cce25;p=mirrors%2FSokoMan.git diff --git a/index.php b/index.php index c8a746d..a814334 100755 --- a/index.php +++ b/index.php @@ -737,7 +737,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]));', - 'lock_author' => 'return($this->auth->get_username_by_id($result[$key][$col]));' + 'lock_author' => 'return($this->auth->get_username_by_id($result[$key][$col]));', + 'bank_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])){