------------------------------------------------------------------------------------------------
<file name="$sourcedir/ManagePermissions.php">
<operation>
<search position="replace"><![CDATA[ 'pm' => array(]]>
</search>
<add><![CDATA[ 'ad_manage' => array(
'ad_manageperm' => false,
),
'pm' => array(]]>
</add>
</operation>
</file>
------------------------------------------------------------------------------------------------
Now you see how is tells you to find the line of code: 'pm' => array(]]>. Well there's no such thing in ManagePermissions.php. It's actually: 'pm' => array(
When you find that you need to replace it with: 'ad_manage' => array(
'ad_manageperm' => false,
),
'pm' => array(
The "]]>" at the end of array never existed.
Hope this helps.
The ]]> is not search code, it's XML parse code.