rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit a58f81ac34026f24eb91f12dbf4565192ccc0598
parent 14cf84b114240821cf1f26e7dc44226149434b28
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 16 May 2015 14:31:55 +0200

next try

Diffstat:
Mcore/backend/blog/posts.php | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php @@ -175,7 +175,8 @@ function shortText($string,$lenght) { return $string; } //$longtext = $post_text; - +$connection->close(); +unset($connection); function deletePost($id) { global $connection; $sql = "DELETE FROM posts WHERE id='$id'";