File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function getLabels()
3434 */
3535 public function setLabel ($ label )
3636 {
37- $ this ->insertToFlexiBee (['id ' => $ this ->getRecordID (), 'stitky ' => $ label ]);
37+ $ this ->insertToFlexiBee (['id ' => $ this ->getRecordIdent (), 'stitky ' => $ label ]);
3838 return $ this ->lastResponseCode == 201 ;
3939 }
4040
@@ -47,7 +47,7 @@ public function setLabel($label)
4747 */
4848 public function unsetLabel ($ labelsToRemove )
4949 {
50- $ this ->insertToFlexiBee (['id ' => $ this ->getMyKey (), 'stitky@removeAll ' => 'true ' ,
50+ $ this ->insertToFlexiBee (['id ' => $ this ->getRecordIdent (), 'stitky@removeAll ' => 'true ' ,
5151 'stitky ' => array_diff_key ($ this ->getLabels ($ this ),
5252 Stitek::listToArray ($ labelsToRemove ))]);
5353 return $ this ->lastResponseCode == 201 ;
@@ -60,7 +60,7 @@ public function unsetLabel($labelsToRemove)
6060 */
6161 public function unsetLabels ()
6262 {
63- $ this ->insertToFlexiBee (['id ' => $ this ->getMyKey (), 'stitky@removeAll ' => 'true ' ]);
63+ $ this ->insertToFlexiBee (['id ' => $ this ->getRecordIdent (), 'stitky@removeAll ' => 'true ' ]);
6464 return $ this ->lastResponseCode == 201 ;
6565 }
6666}
You can’t perform that action at this time.
0 commit comments