Commit 1d9b8885 authored by David Johnson's avatar David Johnson

Fix dumb bug.

parent 21262436
......@@ -345,10 +345,7 @@ $qres = DBQueryFatal($pequery);
$pidmap = array();
if (mysql_num_rows($qres) == 0) {
TBERROR("Unexpected number of rows in count query!");
}
else {
if (mysql_num_rows($qres) > 0) {
while ($row = mysql_fetch_array($qres)) {
$tpid = $row['pid'];
$teid = $row['eid'];
......
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