2
I made this choice at the beginning, but it poses problem.
I cannot test at the moment. I think you have to change:
in class/ads.php
line 53
$this->initVar('price', XOBJ_DTYPE_INT, 0, false);
with
$this->initVar('price', XOBJ_DTYPE_TXTBOX, null, false);
in the line 136 and 138
$price
with
$this->db->quoteString($price)
and in your database change the type of column price with:
price varchar(15) NOT NULL default ''
(and also in sql/mysql.sql)
Perhaps I forget something
I think it's not necessary to delete (or comment) this line in submit1.php (2 places)
if ($price != '' && !is_numeric(trim($price) )) {
$msgstop.= _MD_CATADS_INVALIDPRICE.'
';
$price = '';
}