Fixed error on inserting refs with single quotes.
[fa-stable.git] / gl / gl_budget.php
index 6c4db5270eb023b5168c676915747c84b0b1c66a..6357693b174eb9667e206a8053356a1be6e37975 100644 (file)
@@ -9,8 +9,8 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 10;
-$path_to_root="..";
+$page_security = 'SA_BUDGETENTRY';
+$path_to_root = "..";
 include($path_to_root . "/includes/session.inc");
 
 add_js_file('budget.js');
@@ -185,7 +185,7 @@ if (db_has_gl_accounts())
        end_table(1);
        div_end();
        submit_center_first('update', _("Update"), '', null);
-       submit('add', _("Save"), true, '', true);
+       submit('add', _("Save"), true, '', 'default');
        submit_center_last('delete', _("Delete"), '', true);
 }
 end_form();