]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Fix bug #2936833: api fix: shared=no
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 22 Jan 2010 08:51:56 +0000 (08:51 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 22 Jan 2010 08:51:56 +0000 (08:51 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@621 b3834d28-1941-0410-a4f8-b48e95affb8f

doc/ChangeLog
www/api/posts_add.php

index 3dbeaed528326966ceaa7987815b935c981fa40c..1626339e381154bcc9d7c91e3ecda086ae8dbd22 100644 (file)
@@ -21,6 +21,8 @@ ChangeLog for SemantiScuttle
 - Fix E_NOTICE when calling alltags.php without any parameter
 - Implement request #2833793: Export to avahi config files
   - we support zeroconf networking!
+- Fix bug #2936833: api fix: shared=no
+  Patch by fnorder@users.sourceforge.net
 
 
 0.95.2 - 2010-01-16
index 441965c2d71a66a502ce6b751d2bed11b3de5592..73beee08a28f864e1a5cf9e51f65b842170aced2 100644 (file)
@@ -65,6 +65,10 @@ if (isset($_REQUEST['status'])) {
     }
 }
 
+if (isset($_REQUEST['shared']) && (trim($_REQUEST['shared']) == 'no')) {
+    $status = 2;
+}
+
 // Error out if there's no address or description
 if (is_null($url) || is_null($description)) {
     $added = false;