Merge pull request #10664 from frederic34/patch-21

Update ajax.lib.php
This commit is contained in:
Laurent Destailleur 2019-02-24 20:33:38 +01:00 committed by GitHub
commit 2b6fac3d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,7 +541,7 @@ function ajax_constantonoff($code, $input = array(), $entity = null, $revertonof
/**
* On/off button for object
*
* @param int $object Id product to set
* @param Object $object Object to set
* @param string $code Name of constant : status or status_buy for product by example
* @param string $field Name of database field : tosell or tobuy for product by example
* @param string $text_on Text if on