diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-11 05:18:23 +0000 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-11 05:18:23 +0000 | 
| commit | 8b33371e99247735876feebcc48ea5250c1af85e (patch) | |
| tree | 8ddc91f6679d44d4c252fe4bdf295ff76ea17c52 /modules/search | |
| parent | 891930ec2ba8db4a54e66c772c89d73b6b05343b (diff) | |
Index photos as they're added
Diffstat (limited to 'modules/search')
| -rw-r--r-- | modules/search/helpers/search_event.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/helpers/search_event.php b/modules/search/helpers/search_event.php index e701df9b..541ea294 100644 --- a/modules/search/helpers/search_event.php +++ b/modules/search/helpers/search_event.php @@ -21,7 +21,7 @@ class search_event_Core {    static function item_created($item) {      $record = ORM::factory("search_record");      $record->item_id = $item->id; -    $record->save(); +    search::update_record($record);    }    static function item_updated($old_item, $new_item) {  | 
