Explorar o código

change for API consistency

El RIDO %!s(int64=11) %!d(string=hai) anos
pai
achega
602fc4705e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/zerobin.php

+ 1 - 1
lib/zerobin.php

@@ -454,7 +454,7 @@ class zerobin
             {
                 // Delete the paste
                 $this->_model()->delete($dataid);
-                $this->_return_message(0, 'Paste was properly deleted.');
+                $this->_return_message(0, $dataid);
             }
             else
             {