Malinka priprava locku
authorThomas Mudrunka <tomas@mudrunka.cz>
Fri, 24 May 2013 21:22:13 +0000 (23:22 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Fri, 24 May 2013 21:22:13 +0000 (23:22 +0200)
index.php

index bb5bb5e42868b4cb4a4671973e3553fa880de06e..c8a746d5d1781040f4af1a506f3ea95daa524fa7 100755 (executable)
--- 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])){
This page took 0.120741 seconds and 4 git commands to generate.