Completed
Pull Request — master (#21)
by Andrew
02:34
created
app/classes/menu.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,9 +36,11 @@
 block discarded – undo
36 36
 
37 37
 		if ( is_numeric( $arg ) && 0 !== absint( $arg ) ) {
38 38
 			$menu_id = $this->check_menu_id( $arg );
39
-		} elseif ( is_array( $locations ) && count( $locations ) ) {
39
+		}
40
+		elseif ( is_array( $locations ) && count( $locations ) ) {
40 41
 			$menu_id = $this->get_locations_menu_id( $locations, $arg );
41
-		} elseif ( is_string( $arg ) ) {
42
+		}
43
+		elseif ( is_string( $arg ) ) {
42 44
 			$menu_id = $this->get_menu_id_by_name( $arg );
43 45
 		}
44 46
 
Please login to merge, or discard this patch.