minimodif
authorGreg Burri <greg.burri@gmail.com>
Thu, 2 Oct 2008 15:49:45 +0000 (15:49 +0000)
committerGreg Burri <greg.burri@gmail.com>
Thu, 2 Oct 2008 15:49:45 +0000 (15:49 +0000)
modules/erl/euphorik_bd.erl

index 81a36a0..55aa7bc 100755 (executable)
@@ -279,7 +279,7 @@ nouveau_message(Mess, Auteur_id, Repond_A_ids) ->
    F = fun() ->         \r
       Repond_a = lists:map(\r
          fun(Repond_a_id) ->\r
-            [M] = mnesia:wread({minichat, Repond_a_id}),\r
+            [M] = mnesia:read({minichat, Repond_a_id}),\r
             M\r
          end,\r
          Repond_A_ids\r