found and resolved issues in database layer, thanks to report in #42

This commit is contained in:
El RIDO
2015-10-16 23:13:36 +02:00
parent 87b41a0c3d
commit b92b38cee8
3 changed files with 15 additions and 17 deletions

View File

@@ -138,7 +138,7 @@ abstract class zerobin_abstract
$parts = explode('.', $postdate, 2);
if (!array_key_exists(1, $parts)) $parts[1] = 0;
++$parts[1];
return $this->addComment($comments, implode('.', $parts));
return $this->getOpenSlot($comments, implode('.', $parts));
}
return $postdate;
}