Parcourir la source

change for API consistency

El RIDO il y a 11 ans
Parent
commit
602fc4705e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
             {