X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=blobdiff_plain;f=lib%2FNDWeb%2FController%2FUsers.pm;h=40e9aaa51f2b2c162d03fa38b0aa9f0de3ea1623;hp=efb48d3fd155e0e718c83f860a93a6dfd048662a;hb=b8b4989cd6ad0d0a3f45f6a7972293f79aadd087;hpb=e71f5648d2823f89024c52b77f9ab04d23a75a2d diff --git a/lib/NDWeb/Controller/Users.pm b/lib/NDWeb/Controller/Users.pm index efb48d3..40e9aaa 100644 --- a/lib/NDWeb/Controller/Users.pm +++ b/lib/NDWeb/Controller/Users.pm @@ -216,6 +216,8 @@ ORDER BY time desc }); $query->execute; $c->stash(sms => $query->fetchall_arrayref({})); + + $c->stash(credits => $dbh->selectrow_array(q{SELECT credits FROM clickatell})); } sub postsms : Local {