Switch to new access levels system
[fa-stable.git] / dimensions / inquiry / search_dimensions.php
index fb261b9402de52b101fcfe52943c6883036d217a..9a5c16aebebca47e877610f041697b0c73992d80 100644 (file)
@@ -9,7 +9,7 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
+$page_security = 'SA_DIMTRANSVIEW';
 $path_to_root="../..";
 
 include($path_to_root . "/includes/db_pager.inc");
@@ -172,7 +172,7 @@ $cols = array(
        _("Name"), 
        _("Type"), 
        _("Date") =>'date',
-       _("Due Date") => array('name'=>'due_date', 'date', 'ord'=>'asc'), 
+       _("Due Date") => array('name'=>'due_date', 'type'=>'date', 'ord'=>'asc'), 
        _("Closed") => array('fun'=>'is_closed'),
        _("Balance") => array('type'=>'amount', 'insert'=>true, 'fun'=>'sum_dimension'),
        array('insert'=>true, 'fun'=>'edit_link')