|  | @@ 480-483 (lines=4) @@ | 
                                                            
                                    | 477 |  |             } | 
                                                            
                                    | 478 |  |             return; | 
                                                            
                                    | 479 |  |         } | 
                                                            
                                    | 480 |  |         if ($this->debug) { | 
                                                            
                                    | 481 |  |             \EEH_Debug_Tools::printr($datetime_identifier, '* $datetime_identifier', __FILE__, __LINE__, 1); | 
                                                            
                                    | 482 |  |             \EEH_Debug_Tools::printr("{$reg_limit}", 'REG LIMIT', __FILE__, __LINE__); | 
                                                            
                                    | 483 |  |         } | 
                                                            
                                    | 484 |  |         // number of allocated spaces always starts at zero | 
                                                            
                                    | 485 |  |         $spaces_allocated                           = 0; | 
                                                            
                                    | 486 |  |         $this->total_spaces[ $datetime_identifier ] = 0; | 
                                                                                
                                |  | @@ 675-678 (lines=4) @@ | 
                                                            
                                    | 672 |  |             && isset($this->datetime_spaces[ $datetime_identifier ], $this->datetime_tickets[ $datetime_identifier ]) | 
                                                            
                                    | 673 |  |             && in_array($ticket_identifier, $this->datetime_tickets[ $datetime_identifier ], true) | 
                                                            
                                    | 674 |  |             ) { | 
                                                            
                                    | 675 |  |             if ($this->debug) { | 
                                                            
                                    | 676 |  |                 \EEH_Debug_Tools::printr($datetime_identifier, ' . . adjust Datetime Spaces for', __FILE__, __LINE__); | 
                                                            
                                    | 677 |  |                 \EEH_Debug_Tools::printr("{$this->datetime_spaces[ $datetime_identifier ]}", " . . current  {$datetime_identifier} spaces available", __FILE__, __LINE__); | 
                                                            
                                    | 678 |  |             } | 
                                                            
                                    | 679 |  |             // then decrement the available spaces for the datetime | 
                                                            
                                    | 680 |  |             $this->datetime_spaces[ $datetime_identifier ] -= $ticket_quantity; | 
                                                            
                                    | 681 |  |             // but don't let quantities go below zero |