dever il y a 6 ans
Parent
commit
b77ab30f3e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      lib/Manage.php

+ 3 - 0
lib/Manage.php

@@ -17,6 +17,9 @@ class Manage
     	$type = Dever::param('type', $param);
     	$scope = Dever::param('scope', $param);
 
+    	if (!$uid) {
+    		$uid = -1;
+    	}
     	if ($to_uid && $name && $content) {
     		Dever::load('message/lib/data')->push($uid, $to_uid, $name, $content, $type, $project_id, $scope, $id);
     	}