Fixed mysqli related warnings.
[fa-stable.git] / purchasing / inquiry / po_search.php
index c06fcc819e85e460e10570c8d932c0995c573ded..d660038a3a1dbe4c3b5da1b4d213f879ad6f5d34 100644 (file)
@@ -127,7 +127,7 @@ $cols = array(
                array('insert'=>true, 'fun'=>'receive_link')
 );
 
-if ($_POST['StockLocation'] != ALL_TEXT) {
+if (get_post('StockLocation') != ALL_TEXT) {
        $cols[_("Location")] = 'skip';
 }