Update ajax.lib.php

This commit is contained in:
Frédéric FRANCE 2019-02-23 18:15:56 +01:00 committed by GitHub
parent f83f746123
commit cdf5348b47
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