Skip to content

Commit

Permalink
Merge pull request #949 from garrett-eclipse/946-remove-part_of_speec…
Browse files Browse the repository at this point in the history
…h-duplicate-block

Fixed with suggestions
  • Loading branch information
toolstack committed Oct 15, 2018
2 parents e8c730b + dcfe60d commit e26945e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gp-includes/routes/glossary-entry.php
Expand Up @@ -88,9 +88,9 @@ public function glossary_entry_add_post( $project_path, $locale_slug, $translati
$this->redirect( gp_url_join( gp_url_project_locale( $project->path, $locale_slug, $translation_set_slug ), array( 'glossary' ) ) );
} else {
$find_parms = array(
'glossary_id' => $glossary->id,
'term' => $new_glossary_entry->term,
'part_of_speech' => $new_glossary_entry->part_of_speech,
'glossary_id' => $glossary->id,
'term' => $new_glossary_entry->term,
'translation' => $new_glossary_entry->translation,
);

if ( GP::$glossary_entry->find_one( $find_parms ) ) {
Expand Down

0 comments on commit e26945e

Please sign in to comment.