aboutsummaryrefslogtreecommitdiffstats
path: root/toj/php/square.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'toj/php/square.inc.php')
-rwxr-xr-xtoj/php/square.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/toj/php/square.inc.php b/toj/php/square.inc.php
index 784490d..4a4b52f 100755
--- a/toj/php/square.inc.php
+++ b/toj/php/square.inc.php
@@ -143,6 +143,7 @@ class square
$ret = array();
while($row = pg_fetch_object($sqlr))
{
+ $row->sqid = intval($row->sqid);
array_push($ret, $row);
}
return $ret;
@@ -159,6 +160,7 @@ class square
$ret = array();
while($row = pg_fetch_object($sqlr))
{
+ $row->sqid = intval($row->sqid);
array_push($ret, $row);
}
return $ret;