Changeset 2573

Show
Ignore:
Timestamp:
04/25/2008 10:54:13 AM (7 months ago)
Author:
Shadowhand
Message:

Adding insert and update to the list of restricted methods in ORM::call()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/ORM.php

    r2558 r2573  
    260260                { 
    261261                        // Do not allow query methods 
    262                         if (preg_match('/query|get|list_fields|field_data/', $method)) 
     262                        if (preg_match('/query|get|insert|update|list_fields|field_data/', $method)) 
    263263                                return $this; 
    264264