Commit d9eebf23 authored by unknown's avatar unknown

fixed

parent 8cba7d6e
......@@ -219,8 +219,9 @@ class dbstuff {
}
function result($query, $row) {
$query->fetch(PDO::FETCH_NUM, PDO::FETCH_ORI_ABS, $row);
return $query->fetchColumn();
$query->execute();
$result = $query->fetchAll(PDO::FETCH_NUM);
return $result[$row][0];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment