Pastie: fix saving paste title
authorBen Klang <ben@alkaloid.net>
Tue, 18 May 2010 02:05:00 +0000 (22:05 -0400)
committerBen Klang <ben@alkaloid.net>
Tue, 18 May 2010 02:05:00 +0000 (22:05 -0400)
pastie/paste.php

index a7baa73..8458391 100644 (file)
@@ -24,7 +24,7 @@ if ($form->validate($vars)) {
     $form->getInfo($vars, $info);
 
     try {
-        $uuid = $pastie->driver->savePaste('default', $info['paste'], $info['syntax']);
+        $uuid = $pastie->driver->savePaste('default', $info['paste'], $info['syntax'], $info['title']);
 
         $notification->push(sprintf('Paste saved. %s', $uuid), 'horde.success');