aboutsummaryrefslogtreecommitdiffstats
path: root/toj/php/square.php
diff options
context:
space:
mode:
Diffstat (limited to 'toj/php/square.php')
-rw-r--r--toj/php/square.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/toj/php/square.php b/toj/php/square.php
index 4880ab3..ca57994 100644
--- a/toj/php/square.php
+++ b/toj/php/square.php
@@ -255,6 +255,7 @@ if($action == 'get_available_sq')
$list = square::get_available_sq($sqlc, $uid, $pub);
+ $ret = new stdClass;
$ret->list = $list;
$ret->timestamp = date('Y-m-d H:i:s');
@@ -277,6 +278,7 @@ if($action == 'get_entered_sq')
$list = square::get_entered_sq($sqlc, $uid);
+ $ret = new stdClass;
$ret->list = $list;
$ret->timestamp = date('Y-m-d H:i:s');