瀏覽代碼

Added STM file memory to STM to pass

Alois Mahdal (@azzgoat) 12 年之前
父節點
當前提交
b5a6afb7ae
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      lib/SugarTrail/Repo.pm

+ 1
- 0
lib/SugarTrail/Repo.pm 查看文件

@@ -27,6 +27,7 @@ sub load_stm {
27 27
     my $stm = SugarTrail::STM->new();
28 28
     $stm->{text} = $self->load_text(stm => $args->{stm})
29 29
         or return;
30
+    $stm->{stm} = $args->{stm};
30 31
 
31 32
     return $stm;
32 33
 }