Directory "My Listings" Page Problem & Fix

Hello @Arnold, I downloaded the newest version of Directory and I found a problem which breaks the page in the latest version when you go to “My Listings”.

Parse error: syntax error, unexpected T_ENDIF in wp-content/plugins/directory/ui-front/buddypress/members/single/directory/my-listings.php on line 79

At LINE 75 it reads:

<?php if(current_user_can( 'delete_listings' )) ?>

Should be:

<?php if(current_user_can( 'delete_listings' )) : ?>

The original is missing the colon “:” at the end of the “if” statement

I added the colon and the page works!

Thank you again.